connections
GET /v1/connections/{provider}/{connectionId}/dependants
List what depends on a connected account, before disconnecting it.
Authentication
Send an API key as a bearer token. The key must carry the connections.manage permission; a key without it is refused with 403, not 404.
This endpoint takes no organisation id. Your key already identifies the organisation it belongs to, and the response is scoped to it.
Try it
Replace anything in angle brackets with your own values, and the key placeholder with a key from your dashboard.
curl -X GET https://api.zinndigital.com/v1/connections/{provider}/{connectionId}/dependants \
-H "Authorization: Bearer zdk_live_…"Signed in? The API console in your dashboard fills in your real organisation id and your own key, and runs the request against the live API so you can see the actual response. Open this endpoint in the API console
Details
Every live site, domain and panel that disconnecting this account would affect, by type, and whether the disconnect is refused (blocked, with blockers). The same reader decides disconnectProvider, so this list and that refusal never disagree. Requires connections.manage.
Parameters
| Name | Type | Required | What it is |
|---|---|---|---|
provider (path) | ConnectionProvider | Yes | The third-party provider whose connections are addressed. |
connectionId (path) | Uuid | Yes | The MCP connection's id. |
Response
| Name | Type | Required | What it is |
|---|---|---|---|
total | integer | Yes | — |
blocked | boolean | Yes | True when the disconnect is refused even with confirm=true. |
blockers | string<footprint_free_cdn, dns_sites, panels>[] | Yes | — |
cdn_sites | ConnectionDependantSite[] | Yes | Sites whose CDN runs on this account (mainstream lines drop to no CDN). |
edge_sites | ConnectionDependantSite[] | Yes | Edge-hosted sites deploying through this account. |
repo_sites | ConnectionDependantSite[] | Yes | Sites deploying from a repository on this account. |
dns_sites | ConnectionDependantSite[] | Yes | Sites served from this DNS account (refuses the disconnect). |
domains | object[] | Yes | Registrar domains mirrored from this account (removed from the list). |
panels | object[] | Yes | Hosting panels using this credential (refuses the disconnect). |
Errors this endpoint can return
401 · 403 · 404 · 422 · 429