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

Authorization

apiKey
headerAuthorizationBearer <snoze_sk_…>

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

Path Parameters

workspaceId*string
connectionId*string

Response Body

Success

application/json
  1. response
data*
Example Request
curl -X GET 'https://api.snoze.dev/v1/workspaces/string/integrations/connections/string/disconnect-preview'
Example Response
{  "data": {    "connectionId": "string",    "linkedWorkspaceItems": 0,    "disabledDataSources": 0,    "disabledActions": 0,    "retainedNativeRecords": 0  }}