unifi_delete_traffic_list
Deletes a UniFi traffic matching list after explicit confirmation, previewing affected policies and warning about protected-network or in-use dependencies.
Instructions
Delete a traffic matching list (official DELETE); the console refuses one still in use. Always needs confirm: true; without it the tool previews, with the policies that use it. A change that adds or removes an address in a protected network's subnet (UNIFI_MCP_PROTECTED_NETWORKS, pi-cluster by default), or a ports/IPv6 list used by a policy that reaches one, warns in its preview.
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": {
"trafficList": "<trafficList>"
},
"name": "unifi_delete_traffic_list"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| site | No | Site name, id or reference; optional while the console has a single site | |
| confirm | No | Must be true to carry out a guarded change; without it the tool only previews it | |
| trafficList | Yes | Traffic matching list id or exact name |