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.
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": {
"subAccountId": "<subAccountId>"
},
"name": "ncloud_detach_policy_from_sub_account"
}
}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 |