Trading Platform: Investor Password Reset (trading_platform_investor_password_reset)¶
Reset the investor password of a Trading Platform Account
Auth Scope(s): admin
-
trading_platform_investor_password_reset
(account_id: str, new_password: str, platform: str, verification_code: str, passthrough: Optional[Any] = None, req_id: Optional[int] = None) → int¶ Parameters: - account_id (str) – Trading account ID.
- new_password (str) – New password of the account. For validation (Accepts any printable ASCII character. Must be within 8-25 characters, and include numbers, lowercase and uppercase letters. Must not be the same as the user’s email address).
- platform (str) – Name of trading platform.
- verification_code (str) – Email verification code (received from a verify_email call, which must be done first)
- passthrough (Optional[Any]) – [Optional] Used to pass data through the websocket, which may be retrieved via the echo_req output field.
- req_id (Optional[int]) – [Optional] Used to map request to response.
Returns: req_id
Return type: int
Example¶
binary.api.trading_platform_investor_password_reset(
account_id='MTR1000'
new_password='InvestPwd123@!'
platform='mt5'
verification_code='abCD0199'
)