system-admins

Promote To System Admin

Promote a user to system administrator.

Requires: System Admin role

Args: request: User ID to promote

Returns: Updated user with success message

Raises: 404: User not found 400: User is already a system admin

Example request: { "user_id": "google-oauth2|123456" }

Example response: { "success": true, "user": { ... user details ... }, "message": "User admin2@example.com promoted to system administrator" }

post/api/v1/admin/system-admins

Request

  • Base URL: https://memory.kagura-ai.com (the document declares no server; this is the origin it was published from)
  • URL: https://memory.kagura-ai.com/api/v1/admin/system-admins
  • Auth: none declared

Request body

user_idstring required

OAuth2 user_id to promote

Response

Successful Response

successboolean required
messagestring required

Changes

No recorded changes to this operation across all 1 revision of this API.