clerk.delete_user_external_account
Delete (unlink) an external OAuth or social account from a Clerk user.
Call clerk.get_connected_accounts first. Pass clerk_instance_id to target a specific connection, or omit it to use the default account.
Returns the deleted external account.
Cost = 8 tokens.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| user_id | Yes | Clerk user id (user_...) to operate on. | |
| clerk_instance_id | No | Clerk instance id (ins_...) from clerk.get_connected_accounts. Omit to use the default connected account. | |
| external_account_id | Yes | External account id (for example ea_...) to unlink. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| external_account | No | Deleted external account object from the Clerk Backend API. |