Turn managed mode OFF without disconnecting
Turn managed mode OFF without disconnecting: CustomDomain™ API reference in the connections group. Covers parameters, request body, responses and error codes.
Drops the stored grant (async one-click, or a kept provider sign-in, which is also revoked at the provider where it allows it) 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.
A widget token must be the connection's end user: a connection that names another end user than the token's end_user_ref, or names one while the token names none, answers 403 token_wrong_end_user before the grant is touched, and a connection that names none is the token's as before. An API key and an app-scoped token are not limited by it.
Short-lived widget JWT minted server-side via POST /v1/tokens. Scoped to one application (and optionally one domain).
In: header
Path Parameters
Response Body
application/json
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"}{ "code": "string", "title": "string", "details": "string"}