Last Updated on : 2023-06-20 15:19:23download
Change a password by entering the user ID, old password, and new password.
PUT: /v1.0/iot-02/users/{user_id}
Description of body
Parameter name | Type | IN | Required | Description |
---|---|---|---|---|
user_id | String | true | Tuya user ID. | |
old_password | String | true | The old password, encrypted with SHA256 and converted to lower case. | |
new_password | String | true | The new password, encrypted with SHA256 and converted to lower case. | |
tenant_code | String | false | The code of a specified tenant. |
Parameter name | Type | Description |
---|---|---|
result | Boolean | The result of changing the password. Valid values:
|
PUT: /v1.0/iot-02/users/1374932****62112
{
"result": true,
"t": 1616644441044,
"success": true
}
For more information, see error code.
Is this page helpful?
YesFeedbackIs this page helpful?
YesFeedback