Remove Poll

Delete the poll

Deleting a Poll will remove all the data for the Poll including the Options and Votes.

post
Delete Poll

https://api.pollsapi.com/v1/remove/poll
Request
Response
Request
Headers
Content-Type
required
string
application/json
api-key
required
string
API Key for your account
Body Parameters
poll_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/poll \
-H "content-type: application/json" \
-H "api-key: $API_KEY" \
-d '
{
"poll_id": "5f9f7b186477891e5bc646a1"
}
'

Request Body

{
"poll_id": "5f9f7b186477891e5bc646a1"
}