Super Admin Management
Promote a user to super admin
Changed onPromote an existing user to super admin by email address. Idempotent if user is already a super admin.
post/super-admin/super-admins
Request
- The document declares no server URL.
- Auth: none declared
Request body
Example request
{
"email": "user@example.com"
}Response
User promoted to super admin (or already a super admin)
Example response
{
"id": "123e4567-e89b-12d3-a456-426614174000",
"name": "John Doe",
"email": "john.doe@example.com",
"role": "user",
"orgId": "123e4567-e89b-12d3-a456-426614174001",
"department": "hauptamt",
"createdAt": "2024-01-15T10:30:00Z",
"systemRole": "super_admin"
}Changes
- info
added the optional property
to the response with the status
- info