Duplicate a group set
POST/api/courses/:id/group-sets/:setId/duplicate
Duplicates a group set into a new, independent set in the same course. Copies groups (and, optionally, current active-student memberships). Inactive students and non-student roster members are never copied. Nothing else is copied (no submissions, grades, feedback, assignment links, or activity). Renaming and duplication stay allowed even when a set is locked. Course staff or admin.
Request
Responses
- 201
- 400
- 401
- 403
- 404
- 409
- 500
The new group set.
Missing or invalid name.
Not signed in.
Not course staff or a system admin.
Source group set not found in this course.
A group set with that name already exists in the course.
Server error.