---
title: "Remove a hospital affiliation from a practitioner"
method: DELETE
path: "/practitioners/{practitionerId}/hospital-affiliations/{affiliationId}"
tags: ["Practitioner"]
---

# Remove a hospital affiliation from a practitioner

`DELETE /practitioners/{practitionerId}/hospital-affiliations/{affiliationId}`

Permanently removes the specified hospital affiliation from the practitioner record. Use this when a hospital affiliation is no longer valid and should be removed; this is a hard delete, and the affiliation cannot be recovered after deletion. `{practitionerId}` is the `certifyPractitionerId`, and `{affiliationId}` is the UUID assigned by the server when the affiliation was created, returned in the `POST` response. The hospital affiliations feature must be enabled for the tenant.

## Path parameters

- `affiliationId` string, required
- `practitionerId` string, required

## Headers

- `tenant-id` string

## Response `204`

Deleted

## Other responses

- `401` — Unauthorized
- `403` — Forbidden — same distinguishability as the list endpoint: the response body's `reason` field is `FEATURE_DISABLED` for the tenant feature gate, versus the generic permission-denied `reason` otherwise.
- `404` — Practitioner or affiliation not found

---

[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)
