Tradesync
Browse API reference
API reference

Restore account

POSThttps://api.tradesync.com/deleted-accounts/{account_id}/restore

Restore a deleted account. Account setup continues asynchronously after this request succeeds.

Last updated

Path parameters

account_idType: integer
Deleted Tradesync account ID belonging to the authenticated user

Request body

None.

Response example

Returns an active account object. restored_at is null while its status is restoring. See account response fields.

{
    "result": "success",
    "status": 200,
    "data": {
        "id": 1241453,
        "created_at": "2026-11-12T10:00:00Z",
        "updated_at": "2026-11-12T10:00:00Z",
        "restored_at": null,
        "type": "full",
        "application": "mt4",
        "account_name": "Example account",
        "account_number": 5449295,
        "password": "example-password",
        "broker_server_id": 119,
        "status": "restoring",
        "login_response": null,
        "modify_disabled": "no",
        "account_identifier": 5449295,
        "integration": "terminal",
        "proxy_server_id": null,
        "follower_only": "no"
    }
}

Errors

Code HTTP status Condition
too_many_accounts 422 The user has no remaining allowance for this account type.
restore_maintenance 422 Related records are still being moved following deletion; retry after that process completes.

See also common response codes.