POST /api/admin/super-admins
Grant the super-admin role to an existing user. Idempotent: granting to a user who is already a super admin succeeds and returns their record. Requires MANAGE_SUPER_ADMINS.
Parameters
| Name | In | Type | Required | Description |
|---|
org_id | query | `string | null` | no |
Request body
| Field | Type | Required | Description |
|---|
user_id | `string | null` | no |
email | `string | null` | no |
Responses
| Status | Description |
|---|
201 | Successful Response |
422 | Validation Error |
Response body
| Field | Type | Required | Description |
|---|
user_id | string | yes | — |
email | `string | null` | no |
Operation ID: grant_super_admin_api_admin_super_admins_post