Delete Firewall Policy
unifi_delete_firewall_policyDeletes a user-defined UniFi firewall policy by policy ID; use it to remove obsolete rules after verifying the policy and confirming the irreversible traffic-filtering change.
Instructions
Delete a user-defined firewall policy. CAUTION: irreversible and changes live traffic filtering — confirm with the user and verify the policy with unifi_get_firewall_policy first. System-defined policies cannot be deleted. IDs come from unifi_list_firewall_policies.
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": {
"policyId": "<policyId>"
},
"name": "unifi_delete_firewall_policy"
}
}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. | |
| policyId | Yes | Firewall policy ID (UUID from unifi_list_firewall_policies) |