Skip to content

Update MT5 account enabled property#


Update MT5 account enabled property

PUT /users/current/mt5/provisioning-profiles/:profileId/accounts/:login/enabled

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 for set enabled state this account
login number Yes MT5 account login


Name Type Required Description
enabled boolean Yes Enable or disable account


  • 204 - Successfully change account state
  • 400 - Request validation failed. Response schema: Error


Example request:

curl -X PUT --header 'Content-Type: application/json' --header 'Accept: application/json' --header 'auth-token: token' -d '{}' ''