delete_dfw_rule
Permanently delete a Distributed Firewall (DFW) rule from its parent security policy, immediately altering traffic matching. Use when the rule is obsolete; verify rule ID first.
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.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| target | No | Target name from config; default if omitted. | |
| rule_id | Yes | Rule id within that policy, from list_dfw_rules. | |
| policy_id | Yes | Parent policy id, from list_dfw_policies. |