ncloud_detach_policy_from_sub_account
Remove IAM policies from a sub account by providing their policy IDs. Set confirm=true to execute the detachment.
Instructions
⚠️ Destructive: Remove one or more IAM policies from a sub account. Policy IDs are sent in the request body as policyIdList (the API takes no policy ID in the path). Set confirm=true to execute.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| confirm | No | Must be true to actually execute | |
| policyId | No | Single policy ID to detach. Merged into policyIdList when sent; kept for backward compatibility | |
| policyIdList | No | List of policy IDs to detach. Provide this or policyId | |
| subAccountId | Yes | Sub account ID |