Update comment moderation status

Update the moderation status of a comment. Only the status field can be modified through this endpoint.

Allowed Values

StatusDescriptionCan be applied when current status is
approvedApprove the comment, making it visible to students.awaiting_review, approved (no-op)
removedSoft-delete the comment. It remains as a placeholder to preserve thread structure.awaiting_review, approved, removed (no-op)
deniedPermanently reject and hide the comment. Cannot be undone.awaiting_review, approved, removed, denied (no-op)

Setting a status that is not valid for the comment's current state returns a 422 error.

Idempotency: Setting a status equal to the comment's current status is a no-op and returns 200 OK without modifying updated_at.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
integer
required

Course ID

integer
required

Lecture ID

integer
required

Comment ID

Body Params
string
enum
required

New moderation status. approved: approve the comment. removed: soft-delete (kept as thread placeholder). denied: permanently hide the comment.

Allowed:
Headers
string
required

Generated Admin API key

Responses

Language
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json