delete_static_route
Permanently delete a static route from a Tier-0 or Tier-1 gateway. Preview the blast radius first, then confirm to remove the route and reroute traffic.
Instructions
[WRITE] Permanently delete a static route from a Tier-0 or Tier-1 gateway.
Irreversible: traffic to the route's destination CIDR immediately falls back to remaining routes or is dropped. Without confirm=True this only previews: it returns blast_radius (the gateway, the route's network and next hops, blockers, unmeasured) and deletes nothing. Show that to the user and get their decision. Do not set confirm=True on your own because the user asked to delete earlier: they have not seen the blast radius yet. gateway_type must match where the route lives; a route_id not on that gateway is an error, and confirm=True refuses when the routes could not be read. Returns {"action": "preview" | "deleted", "blast_radius": ...}, else {"error", "hint", "blast_radius"?}.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| target | No | NSX Manager target from config (default if omitted). | |
| confirm | No | False (default) returns the blast radius and changes nothing. True applies it. | |
| route_id | Yes | Static route ID to delete, as returned by list_static_routes. | |
| tier1_id | Yes | Gateway that owns the route (Tier-0 or Tier-1, per gateway_type), from list_tier0_gateways / list_tier1_gateways. | |
| gateway_type | No | Either "tier0" or "tier1" (default "tier1"). | tier1 |