I found the following post that has a very comprehensive list of UniFi commands.
Some of the most common ones that are used
Reset a device
Reboot a device
Connect device to a controller
After you run this command, adopt it in the controller and then run the command again.
Also note that the above command does not seem to work over https.