Creates a new group user mapping
post
/learn.rest/v1/learnCenters/{learnCenterId}/groups/{groupId}/users
Request
Supported Media Types
- application/json
Path Parameters
-
groupId: number
Unique identifier of a Group.
-
learnCenterId: number
Unique identifier of LearnCenter.
Group object that needs to be created.
Root Schema : GroupUserRequest
Type:
object
Request object for user group mapping.
Show Source
-
UserId:
number
Id of the users you want to map to a group.Example:
1137389
Example:
{
"UserId":1137389
}
Security
-
auth: basic
Type:
basic
Description:Basic Authentication
Response
Supported Media Types
- application/json
201 Response
New group user mapping has been created.
400 Response
Request has incorrect syntax or does not contain a field that is required.
409 Response
Another resource with the same identifier already exists.
500 Response
Internal server error.