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.
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 |