Skip to content

Deploy account replica

About

Starts API server for MetaTrader account replica. This request will be ignored if the account replica has already been deployed.

POST /users/current/accounts/:accountId/replicas/:replicaId/deploy

For more information see swagger documentation

Headers

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
replicaId string Yes Id of the account replica to be deployed

Response

  • 204 - MetaTrader account was successfully deployed.
  • 401 - Authorization failed. Response schema: Error
  • 404 - MetaTrader account replica 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' 'https://mt-provisioning-api-v1.agiliumtrade.agiliumtrade.ai/users/current/accounts/1eda642a-a9a3-457c-99af-3bc5e8d5c4c9/replicas/861ceafd-a58e-2fb9-a9bb-c9dd449f3bb4/deploy'