Skip to main content
PUT
Change user role (Admin only)

Authorizations

Authorization
string
header
required

JWT obtained from POST /api/v1/auth/login.

Path Parameters

userId
string
required

userId identifier

Body

application/json
newRole
string

newRole — see API source for exact type.

Response

OK

message
string
data
object