cURL
curl --request PATCH \ --url https://api.replyke.com/api/v6/:projectId/entities/:entityId/remove-upvote
{ "id": "<string>", "userId": "<string>", "upvotes": [ {} ], "downvotes": [ {} ] }
Remove an upvote from an entity
Not Upvoted - 409 Conflict
{ "error": "Can't remove upvote, as user didn't upvote entity or entity not found.", "code": "entity/not-upvoted" }
Not Found - 404 Not Found
{ "error": "Entity not found.", "code": "entity/not-found" }
Server Error - 500 Internal Server Error
{ "error": "Internal server error.", "code": "entity/server-error" }