Users
Manage user accounts: list and inspect users, change roles and status, reset passwords, and delete accounts.
📄️ List users
Returns user accounts one page at a time, with role, status, number of GPS points, and linked OIDC providers.
📄️ Get a user
Returns a user's account details, including timezone, last GPS point time, linked OIDC providers, and whether a password is set.
📄️ Delete a user
Permanently deletes a user and all of their data. Administrators cannot delete their own account or the last administrator. This cannot be undone. The deletion is recorded in the audit log.
📄️ Reset a user's password
Replaces a user's password with a generated temporary password and returns it once. Give it to the user so they can sign in and change it. The reset is recorded in the audit log.
📄 ️ Change a user's role
Sets a user's role to `USER` or `ADMIN`. The last administrator cannot be demoted. The change is recorded in the audit log.
📄️ Enable or disable a user
Enables or disables a user account. Disabled users cannot sign in. Administrators cannot disable their own account. The change is recorded in the audit log.