External Accounts

Delete an External Account

Changed on

Disconnects an external account from an account or user without deleting the underlying platform account.

delete/external_accounts/{id}

Request

  • Base URL: https://api.whop.com/api/v1
  • URL: https://api.whop.com/api/v1/external_accounts/{id}
  • Auth: HTTP bearer

Query parameters

account_idstring

The Account that the external account is connected to. Provide either this or user_id.

user_idstring

The User that the external account is connected to. Provide either this or account_id.

Response

user external account disconnected

deletedboolean required

Always true.

idstring required

ID of the disconnected external account.

Example response

{
  "deleted": true,
  "id": "sacc_xxxxxxxxxxxxxx"
}

Changes