English
English
简体中文
Contact Us
Register
Log In

Query Authorized Persons

Last Updated on : 2021-12-13 09:03:57download

Query the list of authorized persons under a specified access control rule.

API address

GET: /v1.0/iot-02/access-controls/{access_control_id}/users

Request parameter

Parameter name Type IN Required Description
access_control_id String uri true The ID of a specified access control rule.
uid String query false The ID of a specified authorized person.
page_size Integer query true The number of items returned on each page.
page_no Integer query true The page number.

Return parameter

Parameter name Type Description
result HighwayPageResult The returned result.

Description of result

Parameter name Type Description
total Long The total number of results.
list List The number of items returned on each page.
has_more Boolean Specifies whether to return the next page.

Description of list

Parameter name Type Description
uid String The user ID.

Request example

GET: /v1.0/iot-02/access-controls/146304353014959****/users?page_size=20&page_no=1

Return example

{ "result": { "list": [ { "uid": "bay1635497019319****" } ], "total": 1, "has_more": false }, "t": 1637652929363, "success": true }

Error code

For more information, see error code.