/v1/communities/{community_id}/posts/{post_id}/votes/{actor_id}AuthRetract an actor's vote on a poll.
Deletes the vote edge. Idempotent — 204 whether or not a vote existed. No tally decrement: results are computed from surviving votes.
Path parameters
community_id*stringCommunity UUID.
post_id*stringPost UUID containing the poll.
actor_id*stringVoter social actor UUID.
Response · 204
Vote retracted (or no-op).
Example
Request
DELETE https://social.productcraft.co/v1/communities/{community_id}/posts/{post_id}/votes/{actor_id}
Authorization: Bearer YOUR_TOKENimport { Social } from "@productcraft/social";
// Reads PRODUCTCRAFT_API_KEY from the environment
const social = new Social();
await social.community("3f0c3c1e-8a2b-4c55-9d3f-0a1b2c3d4e5f").posts.votes.delete("3f0c3c1e-8a2b-4c55-9d3f-0a1b2c3d4e5f", "3f0c3c1e-8a2b-4c55-9d3f-0a1b2c3d4e5f");social.community(…).posts.votes.delete(postId, actorId, options?): void