Delete a comment
DELETE/api/comments
Deletes a comment by id. Comments are immutable to students: only course staff (faculty or TAs) or a system admin may delete, including deleting their own. A student cannot delete a comment they authored.
Auth: required
Request
Responses
- 200
- 400
- 401
- 403
- 404
- 500
Comment deleted.
Missing commentId.
Not signed in.
Not course staff or a system admin.
Comment not found.
Server error.