/accounts/{account_id}
Updates the account's name and suffix.
{
"account_name":"Test account 3",
"suffix": "s"
}
{
"result": "success",
"status": 200,
"data": {
"id": 1241453,
"created_at": "2025-04-23T14:15:50Z",
"updated_at": "2025-04-25T14:14:41Z",
"restored_at": "2025-04-25T11:26:35Z",
"application": "mt4",
"type": "full",
"mt_version": 4,
"account_name": "Test account 3",
"account_number": 5449295,
"password": "KSaaog",
"broker_server_id": 119,
"status": "connection_slow",
"login_response": null,
"modify_disabled": "no",
"last_ping": "2025-04-25T14:13:30Z",
"broker": "ActivTrades Plc",
"client_name": "ben mcmullan",
"server": "Activtrades-Demo",
"trade_mode": "demo",
"leverage": 30,
"is_demo": "no",
"suffix": "s",
"currency": "USD",
"balance": 0,
"credit": 0,
"equity": 0,
"free_margin": 0,
"used_margin": 0,
"open_trades": 0,
"pending_orders": 0,
"open_trades_lots": 0,
"pending_orders_lots": 0,
"daily_profit": 0,
"weekly_profit": 0,
"monthly_profit": 0,
"total_profit": 0
}
}
Field | Required | Accepted | Description |
---|---|---|---|
account_name | no | string | A reference name |
suffix | no | string | The preferred suffix to use when copying FX trades |
Sign up to our newsletter to keep up-to-date.