ncloud_update_policy
Update a custom IAM policy by replacing its entire permission set. Provide the full desired permissions array; read existing statements with get_policy_detail first to avoid losing them.
Instructions
Update a user-created (custom) IAM policy. The permissions array REPLACES the policy's existing statements, so send the complete desired set — read the current ones with ncloud_get_policy_detail first. System-managed policies cannot be updated, and the policy name cannot be changed.
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": {
"policyId": "<policyId>",
"permissions": "<permissions>"
},
"name": "ncloud_update_policy"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| policyId | Yes | Policy ID to update (see ncloud_list_policies) | |
| description | No | Description of the policy (0-300 bytes) | |
| permissions | Yes | Full replacement set of permission statements |