Delete Network (LAN/VLAN)
unifi_delete_networkDelete a LAN network or VLAN by ID, with optional force for referenced resources; verify dependencies and confirm before irreversible removal.
Instructions
Delete a LAN network / VLAN. CAUTION: irreversible — clients on it lose their network and dependent WiFi/firewall/routes may break. Check unifi_get_network_references first and confirm with the user. Set force=true to delete even while other resources still reference it. IDs come from unifi_list_networks.
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": {
"networkId": "<networkId>"
},
"name": "unifi_delete_network"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| force | No | Delete even if other resources still reference this network (default false) | |
| siteId | No | Site ID (UUID from unifi_list_sites). Optional — when the console has exactly one site it is used automatically. | |
| networkId | Yes | Network ID (UUID from unifi_list_networks) |