Social API reference

Social API · Stories

delete/v1/communities/{community_id}/posts/{post_id}/votes/{actor_id}Auth

Retract 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*string

Community UUID.

post_id*string

Post UUID containing the poll.

actor_id*string

Voter 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_TOKEN