Last Updated on : 2023-06-20 15:19:03download
Register a user with a specified username, password, and country code.
POST: /v1.0/iot-02/users
Description of body
| Parameter name | Type | IN | Required | Description |
|---|---|---|---|---|
| username | String | true | The username. | |
| password | String | true | The password, encrypted with SHA256 and converted to lower case. | |
| country_code | String | true | The country code. | |
| creator | String | false | The creator. | |
| user_nick_name | String | false | The nickname of a specified user. |
| Parameter name | Type | Description |
|---|---|---|
| result | AddUserResponse | The returned result of registering a user. |
Description of result
| Parameter name | Type | Description |
|---|---|---|
| user_id | String | Tuya user ID. |
POST: /v1.0/iot-02/users
{
"user_id": "bay1****0430"
}
For more information, see error code.
Is this page helpful?
YesFeedbackIs this page helpful?
YesFeedback