Skip to main content
POST
/
api
/
accounts
/
{id}
/
change-password
Change MT5 password
curl --request POST \
  --url https://api.easierprop.com/api/accounts/{id}/change-password \
  --header 'Content-Type: application/json' \
  --header 'X-API-Key: <api-key>' \
  --data '
{
  "password": "<string>",
  "is_investor": false
}
'
{
  "ok": true,
  "data": {}
}

Authorizations

X-API-Key
string
header
required

Client API key (prefixed with sk_). On /api/* endpoints the key is scoped to its own MT5 accounts. On /admin/* endpoints the key identifies its owning admin and grants access to all of that admin's keys — so any of your sk_ works to manage any of your other keys (cross-admin operations are rejected as 400 Key not found).

Path Parameters

id
string<uuid>
required

Account ID

Body

application/json
password
string
required

New password

is_investor
boolean
default:false

If true, changes the investor (read-only) password

Response

200 - application/json

Password changed

ok
boolean
Example:

true

data
object