Skip to content

MngDeleteCustomer

Deprecated

The command still works, with no change to its request, response, or required permissions. It is superseded by a pair of commands split by customer kind: MngDeleteClient (del_clients) and MngDeleteLead (del_leads). See Deprecated Commands.

Deletes a customer record by customer_id. This does not delete trading accounts.

Access Control

Requires CRM access and del_customers. The customer brand and desk must be inside the manager scope. Admin scope bypasses this check.

Request

{
  "command": "MngDeleteCustomer",
  "extID": "1",
  "data": {
    "customer_id": 1
  }
}

Response Data

{
  "customer_id": 1
}