System Admin
Revoke system administrator privileges from a user
Changed onRemove system administrator privileges from a user (SystemAdmin only). Two safety guards: the caller cannot revoke their own privileges, and revoking the last remaining system admin is rejected — both prevent a SystemAdmin from accidentally locking the platform out of system-level administration. Idempotent on already-non-admin users.
post/system/admin/revoke
Request
- Base URL/api/v1 (relative, and the document was published on a file host, not at the API’s origin)
- URL/api/v1/system/admin/revoke
- Authnone declared
Request body
Response
Privileges revoked successfully
Changes
- info
endpoint added
- info
- breaking
api path removed without deprecation
- breaking