Reset Password

Last Updated on : 2023-06-20 15:19:44download

Use the username instead of the old password to reset the password.

API address

PUT: /v1.0/iot-02/users/reset-password

Request parameter

Description of body

Parameter nameTypeINRequiredDescription
usernameString trueThe username.
new_passwordString trueThe new password, encrypted with SHA256 and converted to lower case.

Return parameter

Parameter nameTypeDescription
resultBooleanIndicates whether the operation is successful.

Request example

PUT: /v1.0/iot-02/users/reset-password
  "username": "",
  "new_password": "afef318405cf210c372fe3c4d9b7****"

Return example

    "result": true,
    "t": 1616663038728,
    "success": true

Error code

For more information, see error code.