Correct specialty on a tenant practitioner specialty record
PATCH/practitioners/tenant-practitioner-specialties/specialty
Replaces the specialty identifier on a tenant practitioner specialty record. This is a data-correction operation — it does not trigger termination events, lifecycle changes, or downstream notifications. Use it when the wrong specialty was recorded and needs correcting without invoking the termination lifecycle; do not use it to end a practitioner's association with a specialty, use PUT /practitioners/tenant-practitioner-specialties/terminate for that. The specialty record must already exist, and the replacement specialty must be a valid, active tenant specialty.
Request
Responses
- 200
- 400
- 401
- 403
- 404
- 409
- 500
Specialty corrected successfully. The response is a flat JSON object with id, tenantSpecialtyId, and data keys.
Bad request - Invalid input
Unauthorized - Authentication required
Forbidden - Insufficient permissions
Tenant practitioner specialty not found
Conflict - Practitioner already has this specialty
Internal server error