admin

Set a user's primary role

Changed on
patch/admin/users/{id}/role

Request

  • Base URL
    /api (relative, and the document was published on a file host, not at the API’s origin)
  • Auth
    • API key in cookie session
    • or HTTP bearer

Path parameters

idinteger required

Request body

rolestring required

Response

Role updated

Changes