SnozeDevelopers
API referenceIntegrations

Preview what deleting a connection would remove

Reports what disconnecting would affect — the connector-owned databases, mirrored resources, and placements that depend on the connection — so the consequences can be shown before the delete. Read-only, but gated on the `integrations:write` workspace permission because only a caller who could perform the delete may see the preview.

GET
/v1/workspaces/{workspaceId}/integrations/connections/{connectionId}/disconnect-preview
AuthorizationBearer <token>

Workspace API key created in Workspace settings → API keys. Scopes on the key bound what it can read and write.

In: header

Path Parameters

workspaceId*string
connectionId*string

Response Body

application/json

application/json

application/json

curl -X GET "https://example.com/v1/workspaces/string/integrations/connections/string/disconnect-preview"
{  "data": {    "connectionId": "string",    "linkedWorkspaceItems": 0,    "disabledDataSources": 0,    "disabledActions": 0,    "retainedNativeRecords": 0  }}