Skip to main content
DELETE
/
comments
/
{id}
Delete comment
curl --request DELETE \
  --url https://api.surefeedback.com/api/v1/comments/{id} \
  --header 'X-API-Key: <api-key>'
{
  "success": true,
  "message": "Comment deleted successfully"
}
Deletes a comment and all its replies. Users can delete their own comments; admins can delete any comment.

Path parameters

id
string
required
UUID of the comment to delete.
{
  "success": true,
  "message": "Comment deleted successfully"
}