Skip to main content
POST
/
v1
/
public
/
topic-votes.delete
curl --location --request POST 'https://api.yourapp.com/v1/public/topic-votes.delete' \
--header 'Authorization: Bearer SUBSCRIBER_JWT_TOKEN' \
--header 'Content-Type: application/json' \
--data-raw '{
  "id": "topic-uuid-123"
}'
{
  "ok": true
}

Authentication

Authorization: Bearer SUBSCRIBER_JWT_TOKEN

Request Body

id
string
required
Topic ID (UUID) to remove vote from

Response

ok
boolean
Always true
curl --location --request POST 'https://api.yourapp.com/v1/public/topic-votes.delete' \
--header 'Authorization: Bearer SUBSCRIBER_JWT_TOKEN' \
--header 'Content-Type: application/json' \
--data-raw '{
  "id": "topic-uuid-123"
}'
{
  "ok": true
}

Behavior

  • Own Votes Only: Can only remove your own vote
  • Idempotent: Safe to call even if not voted

Notes

  • Returns success even if no vote existed
  • Vote count updates immediately