Skip to main content
DELETE
/
:projectId
/
api
/
v7
/
comments
/
:commentId
Delete Comment
curl --request DELETE \
  --url https://api.replyke.com/api/v6/:projectId/api/v7/comments/:commentId
Deletes a comment. Only the comment’s author, or a request with a service or master key, can delete a comment. Authentication required. All deletes are soft-deletes: the comment’s content, gif, mentions, and attachments are cleared and userDeletedAt is set. The record is preserved as a stripped placeholder in thread view to maintain the reply tree structure (Reddit-style).

Path Parameters

commentId
string
required
The UUID of the comment to delete.

Response

Returns 204 No Content on success.

Error Responses

{ "error": "Comment not found", "code": "comment/not-found" }
{ "error": "Comment already deleted", "code": "comment/already-deleted" }
{ "error": "You do not have permission to delete this comment.", "code": "comment/not-authorized" }