iam_policy_delete
Delete a customer-managed IAM policy after confirmation; enable cascade to detach it from users, groups, and roles and remove non-default versions first.
Instructions
Delete a customer-managed policy; needs confirm=true. With cascade=true it first detaches it from every user, group and role and deletes its non-default versions, listing each step.
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": {
"policy_arn": "<policy_arn>"
},
"name": "iam_policy_delete"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cascade | No | ||
| confirm | No | ||
| policy_arn | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||