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.
apiKeyAuthorizationBearer <snoze_sk_…>Workspace API key created in Workspace settings → API keys. Scopes on the key bound what it can read and write.
workspaceId*stringconnectionId*stringSuccess
application/json- response
data*curl -X DELETE 'https://api.snoze.dev/v1/workspaces/string/integrations/connections/string'{ "data": { "id": "string" }}Update an integration connection
Changes a connection's label, enabled state, auth kind, external account, or manifest, and reseals a replacement secret when one is supplied; omitted fields are left unchanged and no credential value is echoed back. Requires the `integrations:write` workspace permission. Send an `Idempotency-Key` header to make retries safe; a replay within the window returns the original response.
Read a connection with its per-object sync state
Returns the connection together with the state of each provider object type it can mirror — whether the object is enabled and how its fields map onto native fields. Requires the `integrations:read` workspace permission; credentials are not included.