unifi_delete_firewall_zone
Delete a custom UniFi firewall zone with confirmation; previews changes by default, refuses system-defined zones, and protects guarded networks.
Instructions
Delete a custom firewall zone (official DELETE). Always needs confirm: true; without it the tool previews. System-defined zones are refused. Moving a protected network (UNIFI_MCP_PROTECTED_NETWORKS, pi-cluster by default) into or out of a zone changes which policies reach it, so it needs confirm: true.
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": {
"zone": "<zone>"
},
"name": "unifi_delete_firewall_zone"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| site | No | Site name, id or reference; optional while the console has a single site | |
| zone | Yes | Zone name or id | |
| confirm | No | Must be true to carry out a guarded change; without it the tool only previews it |