---
title: "Correct the specialty at the practitioner-location level"
method: PATCH
path: "/practitioners/group-practitioner-location-specialties/specialty"
tags: ["Practitioner"]
---

# Correct the specialty at the practitioner-location level

`PATCH /practitioners/group-practitioner-location-specialties/specialty`

Resolves the FK chain from GroupPractitionerLocationSpecialty to the parent TenantPractitionerSpecialty and replaces its tenant_specialty_id. Does not trigger termination events.

## Headers

- `tenant-id` string

## Request body

- CorrectLocationSpecialtyRequest
  - `groupPractitionerLocationSpecialtyId` string, required — ID of the GroupPractitionerLocationSpecialty record
  - `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` — Group practitioner location 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)
