Connected Accounts
Delete a connected account
Permanently removes a connected account and revokes all associated authentication credentials. Identify the account by ID, or by combination of organization/user, connector, and identifier. This action cannot be undone. All OAuth tokens and API keys for this account will be invalidated.
post/api/v1/connected_accounts:delete
Request body
Example request
{
"connector": "notion",
"id": "ca_123",
"identifier": "user@example.com",
"organization_id": "org_121312434123312",
"user_id": "user_121312434123312"
}Response
Connected account deleted successfully and all credentials revoked
{"stackTrail":"paths:/api/v1/connected_accounts%3Adelete:post:responses:200:content:application/json:schema","oasType":"schema","type":"unknown"}