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.
Request
Responses
- 200
- 400
- 401
- 403
- 404
- 500
Facility network participation successfully terminated
Bad request — missing required fields, invalid date format, or facility already terminated in this network
Unauthorized - Authentication required
Forbidden - Insufficient permissions
Facility or network not found, or facility is not enrolled in the specified network
Internal server error