SnozeDevelopers
API referenceIntegrations

Delete an integration connection

Removes the connection and its stored credentials, returning the deleted id. Requires the `integrations:write` workspace permission; use the disconnect preview first to see what depends on it. Send an `Idempotency-Key` header to make retries safe; a replay within the window returns the original response.

DELETE
/v1/workspaces/{workspaceId}/integrations/connections/{connectionId}

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 DELETE 'https://api.snoze.dev/v1/workspaces/string/integrations/connections/string'
Example Response
{  "data": {    "id": "string"  }}