Delete Custom Firewall Zone
unifi_delete_firewall_zoneDeletes a custom UniFi firewall zone permanently. Use it to remove user-defined zones only, after confirming no firewall policies still reference the zone.
Instructions
Delete a custom firewall zone. Only custom (user-defined) zones can be deleted — system zones cannot. CAUTION: irreversible; policies referencing this zone may be affected. Confirm with the user. IDs come from unifi_list_firewall_zones.
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": {
"zoneId": "<zoneId>"
},
"name": "unifi_delete_firewall_zone"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| siteId | No | Site ID (UUID from unifi_list_sites). Optional — when the console has exactly one site it is used automatically. | |
| zoneId | Yes | Firewall zone ID (UUID from unifi_list_firewall_zones) |