Connected Accounts
Revoke a connected account at the provider
Changed onBest-effort upstream revocation. On success, the connection transitions to REVOKED. Returns 400 when the toolkit does not support programmatic revocation, 409 when the connection is not in a revokable state, 500 when every upstream dispatch fails.
post/api/v3.1/connected_accounts/{nanoid}/revoke
Request
- Base URLhttps://backend.composio.dev
- URLhttps://backend.composio.dev/api/v3.1/connected_accounts/{nanoid}/revoke
- AuthAPI key in header x-api-key
Path parameters
nanoidstring connectedAccountId required
The unique identifier of the connected account
Response
Connection revoked. revoked_tokens reports which subjects were killed at the provider on this call; an empty array indicates the connection was already revoked.
Example response
{
"revoked_tokens": [
"access_token",
"refresh_token"
],
"connected_account": {
"id": "ca_1a2b3c4d5e6f",
"status": "REVOKED"
}
}Changes
- info
api operation id
postV3_1ConnectedAccountsByNanoidRevokeremoved and replaced withpostConnectedAccountsByNanoidRevoke - info
api tag
Authenticationremoved
- info
- info
the endpoint scheme security
CookieAuthwas removed from the API - info
the endpoint scheme security
UserApiKeyAuthwas removed from the API
- info