Last Updated on : 2023-07-06 09:13:56download
Query the list of user IDs that have a specified role. Pagination is supported.
GET: /v1.0/iot-02/{role_code}/uids
Parameter name | Type | IN | Required | Description |
---|---|---|---|---|
role_code | String | uri | true | The identifier of a specified role. |
page_no | Integer | query | false | The page number. Default value: 1 . |
page_no | Integer | query | false | The number of items returned on each page. Default value: 20 . Maximum value: 200 . |
Parameter name | Type | Description |
---|---|---|
result | PageResponse | The returned result. |
Description of result
Parameter name | Type | Description |
---|---|---|
total | Integer | The total number. |
list | List | The list of user IDs. |
has_more | Boolean | Specifies whether there is a next page. |
GET: /v1.0/iot-02/roleCodeb7NS/uids?page_no=1&page_size=2
{
"result": {
"list": [
"bsh1645012345****"
],
"total": 1,
"has_more": false
}
}
For more information, see error code.
Is this page helpful?
YesFeedbackIs this page helpful?
YesFeedback