Last Updated on : 2023-07-06 09:14:15download
Query multiple permissions based on the list of permission codes.
GET: /v1.0/iot-02/permissions
| Parameter name | Type | IN | Required | Description | 
|---|---|---|---|---|
| request | PermissionQueryRequest | query | true | The request of querying permissions. | 
Description of request
| Parameter name | Type | IN | Required | Description | 
|---|---|---|---|---|
| permission_codes | String | true | The list of permission codes, separated with commas (,). | 
| Parameter name | Type | Description | 
|---|---|---|
| result | List | The returned list of permissions. | 
Description of result
| Parameter name | Type | Description | 
|---|---|---|
| permission_name | String | The name of a specified permission. | 
| order | Integer | The order that the items are displayed. | 
| remark | String | The remarks. | 
| permission_type | Integer | The type of permission. Valid values: 
 | 
| permission_code | String | The identifier of a permission. | 
| parent_code | String | The identifier of a parent permission. | 
GET: /v1.0/iot-02/permissions?permission_codes=aaa,bbb,ccc
{
    "tid": "4fcadb7d948811ec82481264f1be8bd1",
    "result": [
        {
            "remark": "Permission permissionCodepHhD",
            "permission_code": "permissionCode****",
            "permission_name": "namepermissionCodepHhD",
            "permission_type": 4,
            "order": 3
        }
    ],
    "t": 1645607371745,
    "success": true
}
For more information, see error code.
Is this page helpful?
YesFeedbackIs this page helpful?
YesFeedback