Skip to content

Undeploy account


Stops API server for a MetaTrader account. Terminal data such as downloaded market history data will be preserved.

POST /users/current/accounts/:accountId/undeploy

For more information see swagger documentation


Name Type Required Description
auth-token string Yes Authorization token. See Authentication and authorization

Path parameters

Name Type Required Description
accountId string Yes MetaTrader account id


  • 204 - MetaTrader account was successfully undeployed
  • 401 - Authorization failed. Response schema: Error
  • 404 - MetaTrader account 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' ''