User Roles REST Endpoints

User Roles
Rest API endpoints for User Roles.
Creates a new user and role mapping.
Method: post
Path: /learn.rest/v1/learnCenters/{learnCenterId}/userRoles/{userRoleId}/users
Creates a new user role
Method: post
Path: /learn.rest/v1/learnCenters/{learnCenterId}/userRoles
Get a list of user role in a LearnCenter.
Method: get
Path: /learn.rest/v1/learnCenters/{learnCenterId}/userRoles
Get a list of users mapped to a user role in a learnCenter.
Method: get
Path: /learn.rest/v1/learnCenters/{learnCenterId}/userRoles/{userRoleId}/users
Get user role details
Method: get
Path: /learn.rest/v1/learnCenters/{learnCenterId}/userRoles/{userRoleId}
Update all properties of a user role.
Method: put
Path: /learn.rest/v1/learnCenters/{learnCenterId}/userRoles/{userRoleId}
Updates subset of properties for a user role.
Method: patch
Path: /learn.rest/v1/learnCenters/{learnCenterId}/userRoles/{userRoleId}