delete_nat_rule
Remove a NAT rule from a Tier-1 gateway to stop source or destination translation. Verify the rule ID and its networks first, because deletion is irreversible and can disrupt connectivity.
Instructions
[WRITE] Permanently delete a NAT rule from a Tier-1 gateway's USER NAT section.
Irreversible: traffic matched by the rule stops being translated immediately, which can break inbound (DNAT) or outbound (SNAT) connectivity. Run list_nat_rules on the same tier1_id first to confirm the rule_id and review its action and networks, and confirm with the user before deleting. Returns a confirmation string, or an "Error: ..." string — not a dict.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| target | No | NSX Manager target from config (default if omitted). | |
| rule_id | Yes | NAT rule ID to delete, as returned by list_nat_rules. | |
| tier1_id | Yes | Gateway that owns the rule, as returned by list_tier1_gateways. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |