Revoke super admin
DELETE /api/admin/super-admins/{user_id}
Revoke the super-admin role from a user (including oneself). Refuses with 409 Conflict if the target is the only remaining super admin. Requires MANAGE_SUPER_ADMINS.
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
user_id | path | string | yes | — |
org_id | query | `string | null` | no |
Responses
| Status | Description |
|---|---|
200 | Successful Response |
422 | Validation Error |
Response body
| Field | Type | Required | Description |
|---|---|---|---|
user_id | string | yes | — |
email | `string | null` | no |
Operation ID: revoke_super_admin_api_admin_super_admins__user_id__delete