Skip to main content

DELETE /api/v1/comments/{id}/reaction

Removes the authenticated user's reaction (like or dislike) from a comment.

Authentication​

Required. Bearer token in Authorization header.

Request​

Path Parameters​

ParameterTypeRequiredDescription
idintegerYesComment ID

Example​

curl -X DELETE https://intotes.com/api/v1/comments/1/reaction \
-H "Authorization: Bearer <access_token>"

Response​

200 OK​

{
"message": "reaction removed successfully"
}

Errors​

StatusCodeDescription
401unauthorizedMissing or invalid authentication token
404not_foundComment not found or no existing reaction
500internal_errorServer failed to remove reaction