Delete an exchange account
POST
/ver1/accounts/:account_id/removeDeletes a user's exchange account from their personal account in the 3Commas system.
Keep in mind that an exchange account cannot be deleted if it has any active entities (DCA Bot, Grid Bot, SmartTrade, Deals, Trades, or Signal Bot).
Response Parameters
No parameters.
Example Responses
- 201 Created
- 404 Not Found
- 422 Unprocessable Entity
true
{
"error": "not_found",
"error_description": "Not Found"
}
{
"error": "account_not_deletable",
"error_description": "There are active trading deals on this exchange. Close all trading operations and try again"
}