Set User Role
Set the role of a user
Authentication
AuthorizationBearer
Bearer token authentication
Request
This endpoint expects an object.
userId
The user id
role
The role to set, this can be a string or an array of strings. Eg: admin or [admin, user]
Response
User role updated
user
Errors
400
Bad Request Error
401
Unauthorized Error
403
Forbidden Error
404
Not Found Error
429
Too Many Requests Error
500
Internal Server Error