---
title: "Terminate a facility's participation in a network"
method: POST
path: "/facilities/{id}/networks/{networkId}/terminate"
tags: ["Facility"]
---

# Terminate a facility's participation in a network

`POST /facilities/{id}/networks/{networkId}/terminate`

Terminates the facility's enrollment in the specified network from the given termination date. Cascades termination to all associated facility locations (TenantGroupLocationFacilityNetwork) and all facility-practitioners in that network (TenantGroupLocationPractitionerNetwork and TenantGroupPractitionerNetwork). The facility's location enrollments and practitioner associations are preserved — only their network participation is terminated. All operations are executed as a single atomic batch transaction.

## Path parameters

- `id` string, required
- `networkId` string, required

## Headers

- `tenant-id` string

## Request body

- TerminateFacilityNetworkRequest — Request to terminate a facility's participation in a network
  - `terminationDate` string, required — Effective termination date (ISO-8601 format). Can be a past, present, or future date.
  - `terminationInformedDate` string — Date the termination notice was provided (ISO-8601 format)
  - `terminationReason` string — Reason for termination (free text). Common values include: Contract Expired, Voluntary Withdrawal, Compliance Issue, Administrative Action, Other, Non-Renewal.
  - `comments` string — Optional free-text comments or notes about the termination; persisted on terminated network records when provided.

## Response `200`

Facility network participation successfully terminated

- TerminateFacilityNetworkResponse — Response for terminating a facility's participation in a network
  - `certifyFacilityId` string, required — Certify facility ID that was terminated
  - `networkId` string, required — Network ID the facility was terminated from
  - `terminationDate` string, required — Effective termination date applied to all cascaded records
  - `terminatedLocationsCount` integer, required — Number of facility-location network records terminated (TenantGroupLocationFacilityNetwork)
  - `terminatedPractitionersCount` integer, required — Number of practitioner network records terminated (TenantGroupLocationPractitionerNetwork + TenantGroupPractitionerNetwork)

## Other responses

- `400` — Bad request — missing required fields, invalid date format, or facility already terminated in this network
- `401` — Unauthorized - Authentication required
- `403` — Forbidden - Insufficient permissions
- `404` — Facility or network not found, or facility is not enrolled in the specified network
- `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/versions/3d27e9019c7b/schema)
