/v1/communities/{community_id}/posts/{post_id}/comments/{comment_id}/reactions/{src_actor_id}/{type}AuthUnreact. Idempotent: returns 200 with current `reaction_counts` even if there was nothing to remove.
Path parameters
community_id*stringSocial community UUID. Must belong to the PAK's workspace.
post_id*stringParent post UUID.
comment_id*stringComment UUID.
src_actor_id*stringReactor actor UUID.
type*stringReaction type label (matches the value passed at create time).
Response · 200 Reaction removed (or already absent); response carries live `reaction_counts`.
reaction_counts*objectLive denormalised counts after the delete (or current counts if the reaction was already absent).
Example: {"like":3}
Example
Request
DELETE https://social.productcraft.co/v1/communities/{community_id}/posts/{post_id}/comments/{comment_id}/reactions/{src_actor_id}/{type}
Authorization: Bearer YOUR_TOKENimport { Social } from "@productcraft/social";
// Reads PRODUCTCRAFT_API_KEY from the environment
const social = new Social();
const commentReactionCounts = await social.community("3f0c3c1e-8a2b-4c55-9d3f-0a1b2c3d4e5f").posts.comments.reactions.delete("3f0c3c1e-8a2b-4c55-9d3f-0a1b2c3d4e5f", "3f0c3c1e-8a2b-4c55-9d3f-0a1b2c3d4e5f", "3f0c3c1e-8a2b-4c55-9d3f-0a1b2c3d4e5f", "like");social.community(…).posts.comments.reactions.delete(postId, commentId, srcActorId, type, options?): Social.CommentReactionCounts
Response
{
"reaction_counts": {
"like": 3
}
}