---
title: "Terminate a group location from specific networks"
method: PUT
path: "/groups/locations/{locationId}/networks/terminate"
tags: ["Group"]
---

# Terminate a group location from specific networks

`PUT /groups/locations/{locationId}/networks/terminate`

Terminates the association between a group location and one or more networks, ending the location's membership in those networks. Only the location–network associations are affected; this operation does not cascade to practitioner associations, specialty associations, or any other related records for this location. Use this endpoint for targeted network termination of a location while preserving its other relationships; to terminate the location from the group entirely, use PUT /groups/locations/{locationId}/terminate instead.

## Path parameters

- `locationId` string, required

## Headers

- `tenant-id` string

## Request body

- TerminateGroupLocationFromNetworkRequest — Request to terminate a group location from networks
  - `networkIds` string[], required — List of network IDs to terminate the location from
  - `terminationDate` string — Termination date (ISO-8601 format, e.g., 2024-01-15)
  - `terminationInformedDate` string — Date when termination was informed (ISO-8601 format, e.g., 2024-01-15)
  - `terminationReason` string — Termination reason
  - `data` object — Additional termination data
  - `continuityOfCare` boolean — Whether Continuity of Care applies for this termination. Defaults to false when omitted.

## Response `200`

Successfully terminated group location from networks

- TerminateGroupLocationFromNetworkResponse — Response for terminating a group location from networks
  - `tenantGroupLocationId` string, required — The tenant group location ID
  - `terminatedCount` integer, required — The number of networks terminated from
  - `networkIds` string[], required — List of network IDs that were terminated
  - `results` NetworkTerminationResult[], required — Termination results for each network
    - `networkId` string, required — Network ID
    - `success` boolean, required — Whether termination was successful
    - `errorMessage` string — Error message if termination failed

## Other responses

- `400` — Bad request - Invalid input or validation error
- `401` — Unauthorized - Authentication required
- `403` — Forbidden - Insufficient permissions
- `404` — Group location or network 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)
