Last Updated on : 2023-07-19 09:54:50download
Query the detailed information about the specified user based on the username.
GET: /v1.2/iot-02/users/{user_name}
Parameter name | Type | IN | Required | Description |
---|---|---|---|---|
user_name | String | uri | true | The username. |
Parameter name | Type | Description |
---|---|---|
result | QueryUserResponse | The returned result. |
Description of result
Parameter name | Type | Description |
---|---|---|
reg_origin | Integer | The source of registration. |
user_name | String | The username. |
creator | String | The creator. |
account_type | Integer | The account type. |
user_id | String | Tuya user ID. |
mobile | String | The mobile phone number. |
String | The email address. | |
tenant_code | String | The code of the specified tenant. |
country_code | String | The country code. |
user_nick_name | String | The nickname of the specified user. |
GET: /v1.0/iot-02/users/134****5102
{
"result": {
"account_type": 3,
"creator": "kun****min",
"user_name": "134****5102",
"mobile": "134****5102",
"user_nick_name": "abc",
"country_code": "86",
"user_id": "bay1****O7eE",
"email": ""
},
"t": 1641796815202,
"success": true
}
For more information, see error code.
Is this page helpful?
YesFeedbackIs this page helpful?
YesFeedback