Tools
list_wlans
Returns all wireless networks configured in the site. This is a read-only operation.
string
required
The site identifier to query.
integer
Maximum number of WLANs to return.
integer
Number of WLANs to skip, for pagination.
create_wlan
Creates a new wireless network (SSID). You must supply a name and a security type. For wpapsk security a password is required. All other parameters are optional.
string
required
The site identifier where the WLAN will be created.
string
required
The SSID broadcast name (e.g.
"Guest WiFi").string
required
Security mode. Accepted values:
open, wpapsk, wpaeap.string
WiFi passphrase. Required when
security is wpapsk.boolean
Whether the SSID is active immediately after creation. Defaults to
true.boolean
Marks this network as a guest network, enabling guest portal and isolation features. Defaults to
false.string
WPA protocol version. Accepted values:
wpa, wpa2, wpa3. Defaults to wpa2.string
WPA encryption cipher. Accepted values:
tkip, ccmp, ccmp-tkip. Defaults to ccmp.integer
VLAN tag (1–4094) to associate with this SSID for network isolation. When set, wireless clients are placed into that VLAN.
string
The internal ID of an existing network configuration to bind this SSID to.
array
List of AP group IDs that should broadcast this SSID. Requires
ap_group_mode to be set.string
How AP groups are applied. Accepted values:
groups (selected groups only), all (all APs).array
WiFi frequency bands to broadcast on. Accepted values:
"2g", "5g". Supply one or both (e.g. ["2g", "5g"]).boolean
Enables UniFi’s IoT optimizations for this SSID, including 802.11b support and disabling OUI-based 2.4 GHz suppression.
boolean
Enables a minimum data rate requirement on 2.4 GHz to encourage devices to use 5 GHz when available.
integer
Minimum 2.4 GHz data rate in kbps (e.g.
1000 for 1 Mbps). Only used when minrate_ng_enabled is true.boolean
When
true, the SSID is not broadcast. Clients must connect manually. Defaults to false.boolean
required
Must be
true to create the WLAN.boolean
When
true, validates all parameters and returns the WLAN payload that would be submitted, without creating anything. Passwords are excluded from the dry-run response.update_wlan
Modifies an existing wireless network. The tool fetches the current WLAN configuration and merges only the fields you supply; all other settings are preserved.
string
required
The site identifier.
string
required
The internal ID of the WLAN to update. Use
list_wlans to find this value.string
New SSID name.
string
New security type:
open, wpapsk, or wpaeap.string
New WiFi passphrase.
boolean
Enable or disable the SSID without deleting it.
boolean
Mark or unmark the network as a guest network.
string
New WPA version:
wpa, wpa2, or wpa3.string
New encryption cipher:
tkip, ccmp, or ccmp-tkip.integer
New VLAN tag (1–4094).
boolean
Show or hide the SSID broadcast.
boolean
required
Must be
true to apply changes.boolean
When
true, returns a preview without writing changes.delete_wlan
Permanently removes a wireless network from the site. The tool verifies the WLAN exists before deleting and raises ResourceNotFoundError if it cannot be found.
string
required
The site identifier.
string
required
The internal ID of the WLAN to delete.
boolean
required
Must be
true to delete the WLAN.boolean
When
true, confirms the WLAN exists and returns a preview without deleting.get_wlan_statistics
Returns usage statistics for one or all WLANs in a site — including connected client counts and cumulative transmit/receive byte totals. This is a read-only operation.
string
required
The site identifier to query.
string
When provided, returns statistics for that specific WLAN only. When omitted, returns an aggregate for all WLANs in the site.