Delete a vote from an option on a poll
Last updated 4 years ago
Delete the vote by the ID
POST https://api.pollsapi.com/v1/remove/vote
POST
https://api.pollsapi.com/v1/remove/vote
{ "status": "success", "statusCode": 200, "data": true }
curl -X POST https://api.pollsapi.com/v1/remove/vote \ -H "content-type: application/json" \ -H "api-key: $API_KEY" \ -d ' { "vote_id": "5f9fa6186477891e5bc646a5" } '
{ "vote_id": "5f9fa6186477891e5bc646a5" }
Content-Type
string
application/json
api-key
API Key for your account
vote_id
ID of the poll to be deleted