Last Updated on : 2023-06-15 04:50:05
Query a list of authorized users under a specified asset.
GET: /v1.0/iot-03/{asset_id}/authorized_users
Parameter name | Type | IN | Required | Description |
---|---|---|---|---|
asset_id | String | uri | true | The asset ID. |
page_no | Integer | query | false | The current page number. |
page_size | Integer | query | false | The number of items returned on each page. The value range is 0 to 20 . |
Parameter name | Type | Description |
---|---|---|
result | PageResult | The returned result. |
Description of result
Parameter name | Type | Description |
---|---|---|
page_no | Integer | The current page number. |
page_size | Integer | The number of items returned on each page. |
data | List | The list of data. |
total | Integer | The total number of items to be returned. |
Description of data
Parameter name | Type | Description |
---|---|---|
uid | String | The user ID. |
user_account | String | The user account. |
country_code | String | The country or region code. |
GET: /v1.0/iot-03/**/authorized_users?pageNo=1&pageSize=10
{
"result": {
"data": [
{
"country_code": "86",
"uid": "bay1****11",
"user_account": "****"
}
],
"page_no": 1,
"total": 1,
"page_size": 1
},
"t": 1649389215548,
"success": true
}
For more information, see error code.
Is this page helpful?
YesFeedbackIs this page helpful?
YesFeedback