Delete Unifi Controller Super Administrator

When a Super Administrator account is created, it has access to all sites. The Unifi Controller handles this by creating a unique user for each site which must be deleted individually when trying to remove the Super Administrator user.

Procedure

You must be a Super Administrator to delete or modify another Super Administrator account.

Delete manually

Preferably, use the automatic method for deleting super administrators. If you are a glutton for tedium, proceed with manual deletion:

  1. Login to the Unifi Controller
  2. Pick the first site (or the next site if you’ve already started) in the Sites list
  3. Go to Settings → Users
  4. Click the pencil (edit) icon to edit the user
  5. Demote the user to Administrator or Read Only and save the settings
  6. Back on the Users list, you will now have the option to delete the user.
  7. Repeat steps 2-6 above for every site in the controller.

Delete automatically

A community member from the Unifi forums has created an easy to use Powershell script with GUI for mass-deleting super administrators. This can be found at coolriku/Unifi-Tools on Github, specifically the Unifi Super Admin Remover tool. Alternatively the latest version at the time of writing, v0.2, is available in UPCC Google Drive here.

  1. Download the Unifi Super Admin Remover script and save it as a .ps1 file.
  2. Right click the file and click “Run with PowerShell”
  3. In the GUI, set the “Unifi Controller URL:port” field to https://manage.mynet.care:8443
  4. Click the Get Credentials button to store your Unifi Super Administrator credentials. The script will use these credentials to communicate with Unifi Controller’s API.
  5. Click Login. If successfully logged in, the “Select Super admin to remove” dropdown menu will populate with a list of all Super Administrator accounts.
  6. Choose the appropriate Super Administrator user and click “Remove superadmin”.
  7. The script will make an API call for each site in the Unifi Controller and report back with the status (success/fail) of each call.
Discard
Save
Was this article helpful?

On this page

Review Changes ← Back to Content
Message Status Space Raised By Last update on