Disconnect
Disconnect the account connected by the requesting user.
account_id picks which of the user’s connections to disconnect (see GET
/{provider}/connections); without it the newest one goes.
Marks the stored installation revoked, and best-effort asks the
provider to kill the token on its own side via
integration.revoke_remote. That call is wrapped here too, on top
of each adapter’s own best-effort handling — a third-party
integration that doesn’t honor the “never raise” contract on
revoke_remote still must not block the local disconnect.
Path Parameters
- provider (str): Key of a registered OAuth provider (see GET /api/v1/integrations/status).
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Path Parameters
Response
Successful Response