Skip to main content

Add a user to a group

Endpoint URL

POST /api/v2/group-memberships

Adds a user to a group. Set enroll_to_courses to true to synchronously enroll the user in the group's active courses regardless of the group's auto-enroll setting. When false or omitted, the endpoint does not force course enrollment and the group's normal auto-enroll behavior remains in effect.

Request​

Responses​

Group membership created