Skip to main content

Grant or revoke system admin

PATCH 

/api/admin/users/:userId/system-admin

Self-hosted / Enterprise only Sets installation-wide system admin (users.is_admin) for a user. Requires an authenticated system admin. The last system admin cannot demote themselves. On TokenTimer Cloud this route does not exist; TokenTimer operates the instance.

Request

Responses

System admin flag updated