Updates subset of properties for a user role.

patch

/learn.rest/v1/learnCenters/{learnCenterId}/userRoles/{userRoleId}

Request

Supported Media Types
Path Parameters
Body ()
User role object that needs to be created.
Root Schema : UserRoleRequest
Type: object
Show Source
Nested Schema : permissions
Type: array
Show Source
Example:
[
    "receiveComSystemMessages",
    "attachFilesToMessages",
    "emailCompletionCertificates",
    "useForums",
    "viewReviews",
    "addGlobalLCCalendarEvents",
    "insertNewReviews",
    "viewLearnCenterPages",
    "viewInsightReportingReports",
    "sendComSystemMessages",
    "viewCoursePages",
    "useComSystemAddressBook",
    "useChatRooms",
    "useCommunicationTools",
    "modifyReviews",
    "printCompletionCertificates",
    "viewCertificatesContent",
    "viewContent"
]
Nested Schema : items
Type: object
Show Source
Security
Back to Top

Response

Supported Media Types

200 Response

Resource updated.

400 Response

Request has incorrect syntax or does not contain a field that is required.

401 Response

Authentication refused for provided credentials or token invalid.
Headers

404 Response

Resource not found.

422 Response

Request may contain validation errors.

500 Response

Internal server error.
Back to Top