Administrators
About 297 words
unifi users lists the administrators who may sign in to the controller. It's read-only: you can see who has access, with which role, and when they last signed in, but you invite, change and remove administrators in the UniFi console under Settings → Admins & Users.
$ unifi users get
NAME EMAIL ROLE SUPER ADMIN LAST LOGIN
admin [email protected] Owner yes 260d ago
viewer [email protected] View only no 263d agoName one administrator by login name or e-mail address to see the details:
$ unifi users describe admin
admin super admin
Account
Name admin
Email [email protected]
ID 67b311ea-53c1-4139-a488-9b02a593a162
Access
Role Owner
Super admin yes
Last login 2026-03-14 20:55:00 (260d ago)unifi admins get is an alias, for those who look for it under that name.
What to use it for
An access review is one command:
unifi users get --output json \
| jq -r '.[] | [.name, .email, .role, .lastLogin] | @tsv'Accounts that haven't signed in for a year are candidates for removal. For what an administrator did, as opposed to who exists, read the audit log with unifi events get --audit (see Events and logs).
Administrators and API keys
A local API key belongs to the administrator who created it and inherits that administrator's role. If you want a key that can't change anything, for a dashboard on the wall or for an agent that should only look, create a view-only administrator in the console, sign in as that administrator, and create the key there.
The list comes from the controller's internal API. The official Network API doesn't expose administrators, which is also why unifi-cli can't manage them.
