Last Updated on : 2023-07-06 09:10:56download
Query all permissions of a single user.
GET: /v1.0/iot-03/idaas/spaces/{space_id}/users/{uid}/permissions
Parameter name | Type | IN | Required | Description |
---|---|---|---|---|
space_id | String | uri | true | The ID of a specified space. |
uid | String | uri | true | The user ID (UID). |
Parameter name | Type | Description |
---|---|---|
result | List |
Description of result
Parameter name | Type | Description |
---|---|---|
permission_code | String | The identifier of a specified permission. |
name | String | The name that is displayed. |
parent_code | String | The code of a parent permission. |
order | Integer | The order that the items are displayed. |
remark | String | The remarks. |
space_id | String | The ID of a specified space. |
gmt_create | String | The time when it is created. |
gmt_modified | String | The time when it is modified. |
GET: /v1.0/iot-03/idaas/spaces/12345/users/uid1/permissions
{
"result": [
{
"gmt_create": "1622884271558",
"remark": "remark1",
"gmt_modified": "1622884271558",
"permission_code": "permissionCode1",
"type": 1,
"name": "name1",
"space_id": "12345",
"order": 1
}
],
"t": 1623033833971,
"success": true
}
For more information, see error code.
Is this page helpful?
YesFeedbackIs this page helpful?
YesFeedback