User roles
Last updated on 13-May-2020 by Jakob Jakobsen Boysen
Get user roles
GET /api/userRole
Scope: ADMIN
Response
A list of available user roles.
Assign user role to user
PUT /api/userRole/assign
Scope: ADMIN
Assign a role to a user.
Request
Body parameters
name
Name of the roleuserID
User ID
Response
The updated user object.
Revoke user role from user
PUT /api/userRole/revoke
Scope: ADMIN
Revoke a role from a user.
Request
Body parameters
name
Name of the roleuserID
User ID
Response
The updated user object.