POST
/
comments
/
delete
/
{comment_id}
Delete a comment
curl --request POST \
  --url https://localhost:5000/comments/delete/{comment_id} \
  --header 'Authorization: Bearer <token>'
{
  "success": true,
  "message": "Comment deleted successfully"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

comment_id
string
required

Comment ID

Response

Comment deleted successfully

success
boolean
Example:

true

message
string
Example:

"Comment deleted successfully"