Custom Domain
API referenceConnections

Turn managed mode OFF without disconnecting

DELETE
/connections/{id}/grant

Drops the stored Domain Connect async grant and clears the connection's managed flag, leaving the connection and its applied records in place. The records the provider already wrote stay live; the control plane simply stops holding a credential to re-apply / revert them. This is not DELETE /v1/connections/{id} (which reverts the template at the provider and removes the whole connection). Idempotent: a connection that is already unmanaged returns 200.

Authorization

AuthorizationBearer <token>

Short-lived widget JWT minted server-side via POST /v1/tokens. Scoped to one application (and optionally one domain).

In: header

Path Parameters

id*string

Response Body

application/json

application/json

application/json

curl -X DELETE "https://example.com/connections/string/grant"
{  "connection_id": "string",  "managed": false}
{  "code": "string",  "title": "string",  "details": "string"}
{  "code": "string",  "title": "string",  "details": "string"}