Reference Guide
...
Basic Configurations for Unifi...
Adding Devices with IP Regex
instead of adding devices one by one, you can add ip regex to device groups to assume every device with a matching ip address is a member of this device group similarly, some ip regex patterns can be added with the deny rule, which makes the system deny all aaa requests coming from this ip to add an ip regex pattern to a device group navigate to devices > device groups click on the action menu of the desired device group, and select ip regex pattern set the allowed/denied ip regex