Skip to main content
DELETE
/
:projectId
/
comments
/
:commentId
Delete Comment
curl --request DELETE \
  --url https://api.replyke.com/api/v6/:projectId/comments/:commentId
{
  "status": "<string>"
}
Deletes a comment from the project. Only the original author or a master client can delete the comment. Decreases the author’s reputation. Recursively updates all replies to mark their parent as deleted (parentDeletedAt).

Path Parameters

commentId
string
required
The ID of the comment to delete

Response

status
string
Returns 204 No Content on successful deletion

Error Responses

{
  "error": "Missing comment ID",
  "code": "comment/missing-comment-id"
}
{
  "error": "You do not have permission to delete this comment.",
  "code": "comment/not-authorized"
}
{
  "error": "Comment not found",
  "code": "comment/not-found"
}
{
  "error": "Server error",
  "code": "comment/server-error",
  "details": "[error message]"
}

Notes

  • Only the comment’s author or a master client may delete the comment.
  • Upon deletion, the comment author’s reputation is reduced.
  • All child replies have their parentDeletedAt timestamp updated recursively.
  • Replies are not deleted — they are marked as having a deleted parent.
I