Skip to content

Delete Reaction Tier 4

DELETE/api/comments/:id/reactionsCopied!

Removes a reaction from a comment.

Example

ts
await client.reactions.delete("2fb4e60b-0d9a-46f3-a4dc-cb9fe8ad9be6", {
  type: "👍",
});
bash
youvico reaction delete \
  --comment 2fb4e60b-0d9a-46f3-a4dc-cb9fe8ad9be6 \
  --type "👍" \
  --yes
bash
curl -X DELETE 'https://api.youvico.com/api/comments/2fb4e60b-0d9a-46f3-a4dc-cb9fe8ad9be6/reactions' \
  -H 'Authorization: Bearer YOUR_API_KEY' \
  -H 'Content-Type: application/json' \
  -d '{ "type": "👍" }'

Returns 204 No Content on success.

WARNING

This endpoint requires a JSON body even though it uses the DELETE method.

Request

Path

idstringrequired
Comment ID

Body

typestringrequired
The emoji to remove

Response

Returns 204 No Content. The response body is empty.