v44

Swagger 2.0raw.githubusercontent.com2026-08-01304236810.6 KB
System Admin

Promote a user to system administrator

Grant system administrator privileges to a user (SystemAdmin only). Idempotent: re-promoting an existing system admin returns 200 with no DB write. Identify the user by email (preferred for human operators) or user_id (UUID, for API clients).

post/system/admin/promote

Request body

emailstring
user_idstring

Response

User promoted successfully

avatarstring
can_access_all_tenantsboolean
created_atstring
emailstring
idstring
is_activeboolean
is_system_adminboolean
tenant_idinteger
updated_atstring
usernamestring