patch
https://developers.teachable.com/v2/products/courses//lectures//comments/
Update the moderation status of a comment. Only the status field can be modified through this endpoint.
Allowed Values
| Status | Description | Can be applied when current status is |
|---|---|---|
approved | Approve the comment, making it visible to students. | awaiting_review, approved (no-op) |
removed | Soft-delete the comment. It remains as a placeholder to preserve thread structure. | awaiting_review, approved, removed (no-op) |
denied | Permanently 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
| Time | Status | User Agent | |
|---|---|---|---|
Retrieving recent requests… | |||
Loading…