Headless LMS

Remove a comment as a moderator

DELETE /api/comments/{commentId}. Remove a comment as a moderator. Headless LMS Discussion API reference.

DELETE
/api/comments/{commentId}

Path Parameters

commentId*string

Response Body

application/json

application/json

application/json

curl -X DELETE "https://example.com/api/comments/string"
{  "id": "string",  "orgId": "string",  "activityId": "string",  "parentId": "string",  "orgUserId": "string",  "body": "string",  "status": "pending",  "removedBy": "string",  "createdAt": "2019-08-24T14:15:22Z",  "updatedAt": "2019-08-24T14:15:22Z"}
{  "error": "string",  "message": "string",  "requestId": "string"}
{  "error": "string",  "message": "string",  "requestId": "string"}