MetaTrader 5 icon

MetaTrader 5

Interact with MetaTrader 5 trading platform via WebAPI

User Account → Delete User

AI-generated

Summary

Deletes a user account from the MetaTrader 5 platform.

Inputs

  • login — User login number. Default is empty string; non-empty value is used to identify the account to delete via the API.

Output shape

raw JSON response from the MetaTrader 5 WebAPI

The API endpoint GET /api/user/delete?login= is called using the node's authenticated connection. The response body is returned as-is; no implicit simplification is applied beyond the node's default simplify parameter handling.

Examples

Example 1: Delete a specific user by login

Set the Login parameter to the target user's numeric login (e.g., 12345). Leave empty to attempt deletion with an empty login (API-dependent behavior).

Discussion