MetaTrader 5 icon

MetaTrader 5

Interact with MetaTrader 5 trading platform via WebAPI

Client → Delete Client

AI-generated

Summary

Deletes a client record from the MetaTrader 5 platform by its client ID.

Inputs

  • clientId — Client record ID to delete. Default is empty string; passed to the MT5 WebAPI as the id query parameter on the GET /api/client/delete endpoint.

Output shape

The raw JSON response from the MetaTrader 5 WebAPI upon deletion. When the node's 'simplify' option is enabled, the response is reduced to {RecordID, PersonName, PersonLastName, ContactEmail, ContactPhone, ClientStatus, ClientType, DateCreated, AssignedManager, LeadSource}.

No additional input parameters are required or consumed for this operation. The API endpoint is GET https://<server>:<port>/api/client/delete?id={clientId}.

Examples

Example 1: Delete a client record with ID '12345'.

Set 'Client ID' to '12345'. The node sends a GET request to /api/client/delete?id=12345. If successful, the client record is permanently removed from the MT5 platform.

Discussion