delete_wlan
Remove a wireless network (SSID) from UniFi. Requires confirmation to proceed, as deleting disconnects all clients on that network.
Instructions
Delete a wireless network (SSID).
Mutating operation: removed immediately and persisted on the UniFi console. Requires confirm=true because deleting an SSID disconnects its clients. Resolve the target by ID or name and review get_wlans first.
Args: wlan: WLAN id or SSID name to delete. confirm: Safety gate: must be True to delete. Defaults to False. site: Site to operate on. Defaults to "default". device: Optional console name to target a specific UniFi device; omit for default.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| site | No | Site to operate on. Defaults to "default". | default |
| wlan | Yes | WLAN id or SSID name to delete. | |
| device | No | Optional console name to target a specific UniFi device; omit for default. | |
| confirm | No | Safety gate: must be True to delete. Defaults to False. |