---
title: "Remove a role from the core practitioner record"
method: PATCH
path: "/practitioners/{id}/roles/remove"
tags: ["Practitioner"]
---

# Remove a role from the core practitioner record

`PATCH /practitioners/{id}/roles/remove`

Removes a role key from the core practitioner record; the role is set to null and stripped, so it will no longer be included when the practitioner's profile is composed from source records. Use this to permanently remove a role at the core practitioner level — this is not a termination, it removes the role entry entirely rather than setting a termination date. For terminating a role at a specific location-network assignment, use `PUT /practitioners/practitioner-role-assignments/{id}/terminate`; for removing a role at the group-practitioner-location level, use `PATCH /practitioners/practitioner-locations/{id}/roles/remove`. `{id}` is the `certifyPractitionerId`, and the role key being removed must exist on the core practitioner record.

## Path parameters

- `id` string, required

## Headers

- `tenant-id` string

## Request body

- RemovePractitionerRoleRequest
  - `role` 'PCP' | 'Specialist' | 'Hospitalist' | 'Hospital-based Provider', required — Role key to remove (will be normalized to lowercase)

## Response `200`

Role removed successfully. `practitionerRoles` reflects the core roles map with the removed role key filtered out entirely (absent, not null); `locationRoles` is always empty.

- PractitionerRolesUpdateResponse — Practitioner roles update response
  - `practitionerRoles` object — Updated practitioner roles map from core_practitioners
  - `locationRoles` object — Updated practitioner roles map from group_practitioner_locations, keyed by groupPractitionerLocationId

## Other responses

- `400` — Bad request - Invalid role or role not found on practitioner
- `401` — Unauthorized - Authentication required
- `403` — Forbidden - Insufficient permissions
- `404` — Practitioner not found
- `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/563848e0ecc0/schema)
