---
title: "Correct the specialty on a tenant practitioner specialty record"
method: PATCH
path: "/practitioners/tenant-practitioner-specialties/specialty"
tags: ["Practitioner"]
---

# Correct the specialty on a tenant practitioner specialty record

`PATCH /practitioners/tenant-practitioner-specialties/specialty`

Replaces the tenant_specialty_id on a TenantPractitionerSpecialty record in data-correction mode. Does not trigger termination events or lifecycle changes.

## Headers

- `tenant-id` string

## Request body

- CorrectPractitionerSpecialtyRequest
  - `tenantPractitionerSpecialtyId` string, required — ID of the existing TenantPractitionerSpecialty record to correct
  - `newTenantSpecialtyId` string, required — ID of the new TenantSpecialty to replace the current one

## Response `200`

Specialty corrected successfully

- JsonNode
  - `empty` boolean
  - `valueNode` boolean
  - `containerNode` boolean
  - `missingNode` boolean
  - `array` boolean
  - `object` boolean
  - `nodeType` 'ARRAY' | 'BINARY' | 'BOOLEAN' | 'MISSING' | 'NULL' | 'NUMBER' | 'OBJECT' | 'POJO' | 'STRING'
  - `pojo` boolean
  - `number` boolean
  - `integralNumber` boolean
  - `floatingPointNumber` boolean
  - `short` boolean
  - `int` boolean
  - `long` boolean
  - `float` boolean
  - `double` boolean
  - `bigDecimal` boolean
  - `bigInteger` boolean
  - `textual` boolean
  - `boolean` boolean
  - `null` boolean
  - `binary` boolean

## Other responses

- `400` — Bad request - Invalid input
- `401` — Unauthorized - Authentication required
- `403` — Forbidden - Insufficient permissions
- `404` — Tenant practitioner specialty not found
- `409` — Conflict - Practitioner already has this specialty
- `500` — Internal server error

---

[API](https://skmtc.net/certifyos/apis/certify-api-layer.md) · [All operations](https://skmtc.net/certifyos/apis/certify-api-layer/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/certifyos/certify-api-layer/revisions/3d27e9019c7b/schema)
