Update resource
PUT /resources/{resourceId}
Updates an existing resource’s total_resources value
Authorizations
Section titled “Authorizations ”Parameters
Section titled “ Parameters ”Path Parameters
Section titled “Path Parameters ”The resource ID to update
Request Body required
Section titled “Request Body required ”object
Updated total number of resources
Responses
Section titled “ Responses ”Resource updated successfully
object
true
object
Resource ID
Teacher ID
Number of resources currently used
Total number of resources allocated
Academic year for the resource allocation
Bad request - invalid input
object
Indicates if the request was successful
Response message
Unauthorized - authentication required
object
Indicates if the request was successful
Response message
Forbidden - insufficient permissions
object
Indicates if the request was successful
Response message
Resource not found
object
Indicates if the request was successful
Response message
Conflict - resource already exists
object
Indicates if the request was successful
Response message
Internal server error
object
Indicates if the request was successful
Response message