Remove vote

Delete a vote from an option on a poll

Delete the vote by the ID

post
Delete Vote

https://api.pollsapi.com/v1/remove/vote
Request
Response
Request
Headers
Content-Type
required
string
application/json
api-key
required
string
API Key for your account
Body Parameters
vote_id
required
string
ID of the poll to be deleted
Response
200: OK
{
"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"
}
'

Request Body

{
"vote_id": "5f9fa6186477891e5bc646a5"
}