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​
| Parameter | Type | Required | Description |
|---|---|---|---|
id | integer | Yes | Comment 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​
| Status | Code | Description |
|---|---|---|
| 401 | unauthorized | Missing or invalid authentication token |
| 404 | not_found | Comment not found or no existing reaction |
| 500 | internal_error | Server failed to remove reaction |