Skip to content

Delete expert advisor

About

Removes an expert advisor with specified id

DELETE /users/current/accounts/:accountId/expert-advisors/:expertId

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
expertId string Yes Expert advisor id

Responses:

  • 204 - Expert advisor deleted
  • 401 - Authorization failed. Response schema: Error
  • 404 - MetaTrader account or expert advisor with specified id not found. Response schema: Error

Examples

Example request:

curl -X DELETE --header 'Accept: application/json' --header 'auth-token: token' 'https://https://mt-provisioning-api-v1.agiliumtrade.agiliumtrade.ai/users/current/accounts/7f18b2a0-1e8f-452c-9a63-4fffcc1ba81f/expert-advisors/test'