Last Updated on : 2023-07-06 09:12:20download
Update the permission attributes.
PUT: /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 code of a specified permission. |
Description of body
| Parameter name | Type | IN | Required | Description |
|---|---|---|---|---|
| name | String | false | The name that is displayed. | |
| type | Integer | false | The type of specified permission. 1: API. 2: menu. 3: button. 4: data. 5: combination. | |
| parent_code | String | false | The identifier of a parent permission. | |
| order | Integer | false | The displayed sequence. | |
| remark | String | false | The remarks. |
| Parameter name | Type | Description |
|---|---|---|
| result | Boolean | The operation result. |
PUT: /v1.0/iot-03/idaas/spaces/1/permissions/1
{
"name": "updateName",
"type": 2,
"order": 2,
"remark": "updateRemark"
}
{
"result": true,
"t": 1622808344972,
"success": true
}
For more information, see error code.
Is this page helpful?
YesFeedbackIs this page helpful?
YesFeedback