Delete a group set
DELETE/api/courses/:id/group-sets/:setId
Deletes a group set and its groups + memberships (cascade). Deletion is blocked when the set has dependencies (none exist yet; the assignment-integration phase adds submission/grade checks). Dependencies are re-checked inside the delete transaction. Course staff or admin.
Request
Responses
- 200
- 401
- 403
- 404
- 409
- 500
Group set deleted.
Not signed in.
Not course staff or a system admin.
Group set not found in this course.
The group set has dependencies and cannot be deleted.
Server error.