Last Updated on : 2023-07-06 09:11:32download
Query the role information on pages.
POST: /v1.0/iot-03/idaas/spaces/{space_id}/page-role
Parameter name | Type | IN | Required | Description |
---|---|---|---|---|
space_id | String | uri | true | The ID of a specified space. |
Description of body
Parameter name | Type | IN | Required | Description |
---|---|---|---|---|
role_codes | List | false | The list of role identifiers. | |
role_code | String | false | The identifier of a specified role. | |
role_name | String | false | The name of a specific role. | |
page_number | Integer | true | The current page number. | |
page_size | Integer | true | The number of items per page. | |
gmt_modified_asc | Boolean | false | Indicates whether to display the items in ascending order of the modification time. |
Parameter name | Type | Description |
---|---|---|
result | Page | The returned result on pages. |
POST: /v1.0/iot-03/idaas/spaces/1400762304747802670/page-role
{
"roleCodes": [
"wujunCode"
],
"roleCode": "wujunCode",
"roleName": "Role",
"pageNum": 1,
"pageSize": 100
}
{
"result": {
"total_count": 1,
"total_pages": 1,
"page_number": 1,
"results": [
{
"role_code": "wujunCode",
"remark": "Remarks",
"role_name": "Role name",
"space_id": "1400762304747802670"
}
],
"page_size": 100
},
"t": 1622882404051,
"success": true
}
For more information, see error code.
Is this page helpful?
YesFeedbackIs this page helpful?
YesFeedback