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.
Authorization
apiKey Workspace API key created in Workspace settings → API keys. Scopes on the key bound what it can read and write.
In: header
Path Parameters
Response Body
application/json
application/json
application/json
curl -X DELETE "https://example.com/v1/workspaces/string/integrations/connections/string"{ "data": { "id": "string" }}{ "_tag": "ApiNotFound", "error": "not_found", "message": "That item does not exist, or this key cannot see it.", "status": 404}{ "_tag": "ApiNotFound", "error": "not_found", "message": "That item does not exist, or this key cannot see it.", "status": 404}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.