Actions42
- User Account Actions
- Client Actions
- Account Binding Actions
- Trading Account Actions
- Symbols Actions
- Prices Actions
- Password Actions
- Certificate Actions
- OTP Actions
- Archive Actions
- Backup Actions
- Notification Actions
Password → Change Password
AI-generatedSummary
Change the password for a specified user account on the MetaTrader 5 platform, choosing between Main, Investor, or Phone password types.
Inputs
- login (required) — The login (account number) of the user whose password you want to change.
- password (required) — The new password to set for the user account.
- passwordType (required) — The type of password to change: Main, Investor, or Phone.
Output shape
a single object containing the API response to the password change request
The output returns the raw response from the MetaTrader 5 WebAPI indicating success or failure of the password change operation.
Examples
Example 1: Change a user's main password
Set login to the user account number, set the new password string, and select 'Main' for the passwordType parameter.