Admin

Change User Role

Change a user's role.

patch/v1/admin/users/{user_id}/role

Request

  • Base URL: http://localhost:8000
  • URL: http://localhost:8000/v1/admin/users/{user_id}/role
  • Auth: OAuth 2 (password, token URL /v1/auth/login)

Path parameters

user_idinteger required

Request body

rolestring required

Response

Successful Response

object required

Changes

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