Endpoint
Authentication
Description
Updates the information of an existing medical specialty. You can modify the name and description of the specialty.Path Parameters
Unique identifier of the specialty to update
Request Body
Name of the medical specialty
Description of what the specialty covers or treats
Response
Returns the updated specialty object.Response Fields
Unique identifier for the specialty
Updated name of the specialty
Updated description of the specialty
Example Request
Example Response
Error Responses
400 Bad Request
Missing required field
401 Unauthorized
Missing or invalid authentication token
403 Forbidden
User does not have admin role
404 Not Found
Specialty with the specified ID does not exist
500 Internal Server Error
Server error while updating specialty
Notes
- The
nombrefield is required even when updating - Updating a specialty will affect all doctors assigned to it
- The updated specialty information will be immediately visible to public users