iam__UpdateCloudServiceCustomPolicy
Modify a Huawei Cloud IAM custom policy by policy ID, updating its permissions, display name, and description for access control management.
Instructions
[IAM] 该接口可以用于管理员修改云服务自定义策略。
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"role": "<role>",
"role_id": "<role_id>"
},
"name": "iam__UpdateCloudServiceCustomPolicy"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| role | Yes | 自定义策略信息。 | |
| role_id | Yes | 待修改的自定义策略ID,获取方式请参见:[自定义策略ID](https://apiexplorer.developer.huaweicloud.com/apiexplorer/doc?product=IAM&api=ListCustomPolicies)。 |