API reference
Delete account
DELETE
https://api.tradesync.com/accounts/{account_id}Delete an account and its associated copiers. Pending commands for the account are cancelled. This endpoint does not submit trade-close commands.
Last updated
Path parameters
- account_idType: integer
- Tradesync account ID belonging to the authenticated user
Response example
{
"result": "success",
"status": 200,
"data": []
}
Errors
| Code | HTTP status | Condition |
|---|---|---|
| delete_wait_limit | 422 | The account was created or restored too recently to delete. The response data includes delete_wait_minutes. |
See also common response codes.