Updates subset of properties for a supervisor role.
patch
/learn.rest/v1/learnCenters/{learnCenterId}/supervisorRoles/{supervisorRoleId}
Request
Supported Media Types
- application/json
Path Parameters
-
learnCenterId(required): number
Unique identifier of a LearnCenter.
-
supervisorRoleId(required): number
Unique identifier of a supervisor role.
Supervisor role object that needs to be created.
Root Schema : SupervisorRoleRequest
Type:
Show Source
object
-
description:
string
-
globalFlag:
boolean
Default Value:
false
-
name:
string
-
permissions:
array permissions
-
statusFlag:
boolean
Default Value:
true
Example:
{
"id":1914,
"name":"new test role",
"description":"new test role desc",
"permissions":[
"receiveComSystemMessages",
"attachFilesToMessages"
],
"statusFlag":false,
"globalFlag":false
}
Security
-
auth: basic
Type:
basic
Description:Basic Authentication
Response
Supported Media Types
- application/json
200 Response
Resource updated.
400 Response
Request has incorrect syntax or does not contain a field that is required.
401 Response
404 Response
Resource not found.
422 Response
Request may contain validation errors.
500 Response
Internal server error.