DELETE/v1/accounts/{account}

Delete an account

Deletes a connected account that you manage. Test-mode accounts can be deleted at any time. Live-mode accounts can only be deleted when all balances are zero, except for Standard accounts which cannot be deleted. Returns a confirmation object with the deleted flag set to true.

1 parameter
accountstringrequired

The unique identifier of the account to delete.

2 status codes
200Returns a deleted account confirmation object with id, object type, and deleted flag set to true.
deletedbooleanrequired

Always true for a deleted object

Allowed:true
idstringrequired

Unique identifier for the object.

objectstringrequired

String representing the object's type. Objects of the same type share the same value.

Allowed:account
defaultError response.
errorobjectrequired

Error handling

account must identify an existing connected account. Live-mode accounts can only be deleted when all balances are zero. Standard accounts cannot be deleted.