Add a user to a group
add_user_to_groupDestructive
WRITE: add an existing user to a group, which also enrolls them in the group's courses. Set enroll_to_courses to enroll synchronously. POST /api/v2/group-memberships.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| user_id | Yes | The user id (a positive integer). | |
| group_id | Yes | The group id (a positive integer). | |
| enroll_to_courses | No | Enroll the user in the group's active courses right away (synchronously). |