Last Updated on : 2023-10-09 08:07:22download
Modify the name and description of the specified permission based on the permission ID, name, and description.
PUT: /v2.0/cloud/iam/permission/{permission_id}
Parameter name | Type | IN | Required | Description |
---|---|---|---|---|
permission_id | Long | uri | true | The ID of the specified permission. |
Description of body
Parameter name | Type | IN | Required | Description |
---|---|---|---|---|
name | String | true | The name of the specified permission. | |
description | String | true | The description of the specified permission. |
Parameter name | Type | Description |
---|---|---|
success | Boolean | Indicates whether the operation is successful. Valid values:
|
error_code | String | The error code. For more information, see the error codes. |
error_msg | String | The message that is returned if the request fails. It is empty if the request is successful. |
result | Object | The returned result. Valid values:
|
PUT: /v2.0/cloud/iam/permission/1
{
"name": "modify",
"description": "modifyDesc"
}
{
"tid": "f5ffe2440b5111ee8144726abb6617ad",
"result": true,
"t": 1686815715734,
"success": true
}
For more information, see error code.
Is this page helpful?
YesFeedbackIs this page helpful?
YesFeedback