Skip to content

Delete account replica


Stops and deletes an API server for a specified MetaTrader account replica. The terminal state such as downloaded market data history will be deleted as well when you delete the account replica.

DELETE /users/current/accounts/:accountId/replicas/:replicaId

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


  • 204 - MetaTrader account replica with specified id has been deleted.
  • 401 - Authorization failed. Response schema: Error
  • 404 - Account replica with specified id was not found. Response schema: Error


Example request:

curl -X DELETE --header 'Accept: application/json' --header 'auth-token: token' ''