Remove exchange connection

Description: Deletes an exchange account from user

Permission: ACCOUNTS_WRITE Security: SIGNED


POST

/ver1/accounts/{account_id}/remove


Path Parameter

account_id required integer Unique 3Commas ID for this exchange account entity

Response Parameters

NONE

Example request

POST /ver1/accounts/12345678/remove

Example Response and errors

Status: 201 Created

true
Status: 404 Not Found

{
    "error": "not_found",
    "error_description": "Not Found"
}
Status: 422 Unprocessable Entity

{
    "error": "account_not_deletable",
    "error_description": "There are active trading deals on this exchange. Close all trading operations and try again"
}

Last updated

Was this helpful?