headless lms

Dismiss every open report on a course comment

DELETE /api/comments/{commentId}/reports. Dismiss every open report on a course comment. Headless LMS Discussion API reference.

DELETE
/api/comments/{commentId}/reports

Needs courses:moderate on the course. The comment stays up.

Path Parameters

commentId*string

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

curl -X DELETE "https://example.com/api/comments/string/reports"
null
{  "error": "string",  "message": "string",  "requestId": "string",  "issues": [    {      "path": "string",      "message": "string"    }  ]}
{  "error": "string",  "message": "string",  "requestId": "string"}
{  "error": "string",  "message": "string",  "requestId": "string"}
{  "error": "string",  "message": "string",  "requestId": "string"}
{  "error": "string",  "message": "string",  "requestId": "string"}