Skip to content

Disable MT4 account#

About#

Disable MT4 account.

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

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 for disabling this account
login number Yes MT4 account login

Response#

  • 204 - Account removed successfully
  • 400 - Validation failed. Response schema: Error
  • 401 - Authorization failed. Response schema: Error

Examples#

Example request:

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