delete_dfw_rule
Permanently delete a specific DFW rule from its parent security policy. Confirm the rule ID and check recent hits first, because removal is immediate and irreversible.
Instructions
[WRITE] Permanently delete one DFW rule from its parent security policy.
Returns {"status": "deleted", "message": ...}, else {"error", "hint"}. Irreversible and immediate: traffic it matched falls through to lower-priority rules or the policy default. Confirm rule_id with list_dfw_rules and check recent hits with get_dfw_rule_stats first; prefer update_dfw_rule with disabled=True when you may need the rule back. To remove a whole policy use delete_dfw_policy — it refuses while rules remain, whereas this tool has no such guard.
Args: policy_id: Parent policy id, from list_dfw_policies. rule_id: Rule id within that policy, from list_dfw_rules. target: Target name from config; default if omitted.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| target | No | ||
| rule_id | Yes | ||
| policy_id | Yes |