User roles
Get user roles
Section titled “Get user roles”GET /api/userRole
Scope: ADMIN
Response
A list of available user roles.
Assign user role to user
Section titled “Assign user role to user”PUT /api/userRole/assign
Scope: ADMIN
Assign a role to a user.
Request
Body parameters
nameName of the roleuserIDUser ID
Response
The updated user object.
Revoke user role from user
Section titled “Revoke user role from user”PUT /api/userRole/revoke
Scope: ADMIN
Revoke a role from a user.
Request
Body parameters
nameName of the roleuserIDUser ID
Response
The updated user object.