Skip to content

unblock_client

Unblock a previously-blocked client by MAC.

Side effects:

  • Removes the MAC from the controller’s user-block list. The client can re-associate immediately.
  • Mutates controller state. Use dry_run=True to preview the change without applying.
unblock_client(mac="aa:bb:cc:00:00:01")
ParameterTypeRequiredDefaultDescription
macstringyesClient MAC address (e.g. "aa:bb:cc:00:00:01").
controllerstringno”default”Name of the UniFi controller to target. Defaults to "default".
dry_runbooleannofalsePreview the change without applying it. Returns the predicted change set.