delete_policy
Delete a masking policy and all its associated rules. Review rules first with get_rules to understand what will be removed.
Instructions
Delete a masking policy and all its rules.
Use with caution - this removes all masking rules
associated with the policy. Consider reviewing rules
with get_rules first to understand what will be
deleted.
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_id": "<policy_id>"
},
"name": "delete_policy"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| policy_id | Yes | Raw policy ID from `get_policies`. Do not URL-encode. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||