Skip to content

Change user password MT4#


Change user password MT4.

POST /users/current/mt4/provisioning-profiles/:profileId/accounts/:login/changePassword

For more information see swagger documentation


Name Type Required Description
auth-token string Yes MetaApi account token. See Authentication & authorization

Path parameters#

Name Type Required Description
profileId string Yes Id of the provisioning profile that will be used as the basis
login number Yes MT4 account login


Name Type Required Description
password string Yes New user password
type string Type of a password to change. master - The master password, investor - The investor password. By default is master


  • 200 - Successfully change user password.
  • 400 - Validation failed. Response schema: Error
  • 401 - Authorization failed. Response schema: Error
  • 404 - Provisioning profile with specified id not found. Response schema: Error


Example request:

curl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' --header 'auth-token: token' -d '{
  "password": "qwerty1",
  "type": "1"
}' ''