Delete a course assignment
DELETE/api/courses/:id/assignments/:aid
Deletes an assignment, but only when it's safe: no submissions and no comments. Its problem links are cleared first, then the assignment is removed. Course staff (faculty or TAs) or a system admin.
Request
Responses
- 200
- 400
- 401
- 403
- 404
- 500
Assignment deleted.
Submissions or comments exist.
Not signed in.
Not course staff or a system admin.
Assignment not found in this course.
Server error.