Users

Update user superadmin privileges

Superadmin-only. Updates whether a user is a superadmin.

patch/api/v1/users/{id}/superadmin

Request

  • Base URL: / (relative, and the document was published on a file host, not at the API’s origin)
  • URL: /api/v1/users/{id}/superadmin
  • Auth: one of:
    • HTTP bearer
    • HTTP basic

Path parameters

idstring required

The user id

Request body

superAdminboolean required

Example request

{
  "superAdmin": true
}

Response

User successfully updated

Changes

No recorded changes to this operation across all 7 revisions of this API.