Skip to content

Latest commit

 

History

History
40 lines (28 loc) · 1.57 KB

trading_platform_password_reset.rst

File metadata and controls

40 lines (28 loc) · 1.57 KB

Trading Platform: Password Reset (trading_platform_password_reset)

Reset the password of a Trading Platform Account

Auth Scope(s): admin

.. py:method:: trading_platform_password_reset(new_password: str, platform: str, verification_code: str, passthrough: Optional[Any] = None, req_id: Optional[int] = None) -> int

   :param new_password: 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).
   :type new_password: str
   :param platform: Name of trading platform.
   :type platform: str
   :param verification_code: Email verification code (received from a `verify_email` call, which must be done first)
   :type verification_code: str
   :param passthrough: [Optional] Used to pass data through the websocket, which may be retrieved via the `echo_req` output field.
   :type passthrough: Optional[Any]
   :param req_id: [Optional] Used to map request to response.
   :type req_id: Optional[int]
   :returns: req_id
   :rtype: int


Example

binary.api.trading_platform_password_reset(
    new_password='C0rrect_p4ssword'
    platform='dxtrade'
    verification_code='abCD0199'
)
.. seealso::
   * `Binary API Docs for trading_platform_password_reset <https://developers.binary.com/api/#trading_platform_password_reset>`_