Skip to main content
POST

Authentication

Requires subscriber JWT token from login/identify.

Request Body

string
required
The feedback ID to remove vote from

Response

boolean
Returns true if vote was successfully removed
number
Updated total vote count for this feedback

Behavior

  • Own Vote Only: Can only delete your own vote
  • Vote Count Update: Feedback vote count decremented automatically
  • Idempotent: Returns success even if no vote exists

Use Cases

  • Change Mind: Allow users to remove their vote
  • Toggle Voting: Implement upvote/unvote toggle button
  • Vote Management: Users can manage their voting history

Notes

  • Requires valid subscriber JWT token
  • Returns 404 if feedback doesn’t exist
  • Vote count updates immediately
  • Returns success even if user hasn’t voted