563848e0ecc0
Correct a facility-level specialty record
Updates a TenantFacilitySpecialty record (Level 1) by replacing the tenant_specialty_id, updating the effective date, or both. At least one of newTenantSpecialtyId or effectiveDate must be provided. Use this for data-correction scenarios where a facility's direct specialty association needs to be updated without triggering credentialing lifecycle events — it does not propagate changes to group, location, or network specialty records. For corrections that need to cascade to group-level records, use PATCH /facilities/tenant-group-facility-specialties/specialty instead. Does not trigger termination events or lifecycle changes. Returns the raw updated record (id, tenantSpecialtyId, data) as an untyped JSON object, not a curated response DTO.
Headers
Request body
Example request
{
"tenantFacilitySpecialtyId": "tfs_abc123",
"newTenantSpecialtyId": "ts_xyz789",
"effectiveDate": "2026-01-15",
"isPrimary": true,
"changeReason": "Correcting specialty mapping per annual review"
}Response
Specialty updated successfully