Updating UNMS URL on Ubiquiti Devices
ssh into device
# vi /tmp/system.cfg
change unms.uri= to the one listed in your UNMS/UISP portal
– Settings / Devices / Device Adoption / Copy UISP key to clipboard
:wq
# /usr/etc/rc.d/rc.softrestart save
This will write your changes and reboot the device. Just not that there is no error checking, so if you corrupt the config, you won’t be able to get back into it remotely.