Last Updated on : 2023-07-06 09:12:09download
Query the details of a specified permission.
GET: /v1.0/iot-03/idaas/spaces/{space_id}/permissions/{permission_code}
| Parameter name | Type | IN | Required | Description | 
|---|---|---|---|---|
| space_id | String | uri | true | The ID of a specified space. | 
| permission_code | String | uri | true | The identifier of a specified permission. | 
| Parameter name | Type | Description | 
|---|---|---|
| result | IdaasPermissionInsertDTO | 
Description of result
| Parameter name | Type | Description | 
|---|---|---|
| permission_code | String | The identifier of a specified permission. | 
| name | String | The name of a specified permission. | 
| type | Integer | The type of specified permission. 1: API.2: menu.3: button.4: data.5: combination. | 
| parent_code | String | The identifier of a parent permission. | 
| order | Integer | The displayed sequence. | 
| remark | String | The remarks. | 
| 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/1400335346549391440/permissions/6002
{
    "code": 200,
    "data": {
        "remark": "remark",
        "type": 1,
        "name": "name",
        "order": 2
    },
    "message": "OK",
    "success": true
}
For more information, see error code.
Is this page helpful?
YesFeedbackIs this page helpful?
YesFeedback