Skip to content

Set change account password permission MT5#

About#

Set change account password permisson MT5.

POST /users/current/mt5/provisioning-profiles/:profileId/accounts/:login/changePasswordPermisson

For more information see swagger documentation

Headers#

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 MT5 account login

Body#

Name Type Required Description
changePasswordPermisson boolean Yes Change password permisson

Response#

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

Examples#

Example request:

curl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' --header 'auth-token: token' -d '{
  "changePasswordPermisson": true
}' 'https://mt-manager-api-v1.vint-hill.agiliumtrade.ai/users/current/mt5/provisioning-profiles/profileId/accounts/12345/changePasswordPermisson'