Change an assignment's individual/group type
PUT/api/courses/:id/assignments/:aid/type
Changes an assignment's individual/group type. Course staff (faculty or TAs) or a system admin. groupSetId: null makes it individual; a set id makes it a group assignment tied to that set. Because assignees and date overrides reference the old type's targets, switching resets the audience to everyone and clears all assignees + overrides in one transaction (staff rebuild them on the Assign To tab).
Request
Responses
- 200
- 400
- 401
- 403
- 404
- 500
The updated assignment.
Group set not found in this course.
Not signed in.
Not course staff or a system admin.
Assignment not found in this course.
Server error.