/v1/communities/{community_id}/posts/{post_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.
post_id*stringSocial post UUID.
src_actor_id*stringReactor actor UUID.
type*stringReaction type label.
Response · 200 Reaction removed (or already absent).
reaction_counts*objectDenormalised reaction counts after the write.
Example: {"like":12}
Example
Request
DELETE https://social.productcraft.co/v1/communities/{community_id}/posts/{post_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 reactionCounts = await social.community("3f0c3c1e-8a2b-4c55-9d3f-0a1b2c3d4e5f").posts.reactions.delete("3f0c3c1e-8a2b-4c55-9d3f-0a1b2c3d4e5f", "3f0c3c1e-8a2b-4c55-9d3f-0a1b2c3d4e5f", "like");social.community(…).posts.reactions.delete(postId, srcActorId, type, options?): Social.ReactionCounts
Response
{
"reaction_counts": {
"like": 12
}
}