cURL
curl --request POST \ --url https://localhost:5000/comments/delete/{comment_id} \ --header 'Authorization: Bearer <token>'
{ "success": true, "message": "Comment deleted successfully" }
Delete a comment by ID
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
Comment ID
Comment deleted successfully
true
"Comment deleted successfully"