Delete a connected account
Changed onDeletes a connected account. The account immediately stops working for API calls and cannot be restored through the API. Pass ?revoke_on_delete=true to also revoke the account's upstream credentials.
Request
- Base URLhttps://backend.composio.dev
- URLhttps://backend.composio.dev/api/v3.1/connected_accounts/{nanoid}
- Auth
- API key in header x-api-key
- or API key in header x-user-api-key
Path parameters
The unique identifier (nanoid) of the connected account
Query parameters
When true, the delete also starts a background job that revokes the upstream credentials of every connected account in scope, and the response carries a revoke_job_id. Defaults to false. Revocation is irreversible — recovering a deleted entity does not restore working credentials.
Response
Successfully deleted the connected account.
Example response
{
"success": true
}Changes
- info
api operation id
deleteV3_1ConnectedAccountsByNanoidremoved and replaced withdeleteConnectedAccountsByNanoid - info
api tag
Account Managementremoved - info
added the required property
to the response with the status
- info
- info
the endpoint scheme security
CookieAuthwas removed from the API - info
added the new optional
queryrequest parameterrevoke_on_delete - info
added the optional property
to the response with the status
- info