Skip to content

Delete account


Removes a trading account and stops the API server serving the account. The account state such as downloaded market data history will be removed as well when you remove the account

DELETE /users/current/accounts/:accountId

For more information see swagger documentation


Name Type Required Description
auth-token string Yes Authorization token. See Authentication and authorization

Path parameters

Name Type Required Description
accountId string Yes Id of the account to be deleted

Query parameters

Name Type Required Description
executeForAllReplicas boolean If true, all replicas will be deleted. Default is false


  • 204 - Trading account with specified id has been deleted.
  • 401 - Authorization failed. Response schema: Error
  • 403 - Method or resource access permissions are missing. Response schema: Error
  • 404 - Account with specified id was not found. Response schema: Error


Example request:

curl -X DELETE --header 'Accept: application/json' --header 'auth-token: token' ''