Update account .

PATCH

Request

/accounts/{account_id}

Body

{
    "account_name": "Test name",
    "suffix": ".uda"
}

Response

{
    "result": "success",
    "status": 200,
    "data": {
        "id": 64,
        "created_at": "2021-03-09T11:52:18.000000Z",
        "updated_at": "2021-03-18T15:36:52.000000Z",
        "mt_version": 4,
        "account_name": "Test name",
        "account_number": 123456,
        "password": "password",
        "broker_server_id": 1,
        "broker_server_address": null,
        "status": "connection_ok",
        "login_response": "login_success",
        "last_ping": "2021-03-18 15:36:25",
        "broker": "trades Plc",
        "..": ".........."
    }
}

Attributes

Field Required Accepted Description
account_name no string A reference name
suffix no string The preferred suffix to use when copying FX trades

Stay in the loop..

Sign up to our newsletter to keep up-to-date.