Polls API
Home
Login
Search…
Polls API Documentation
API Introduction
API
Create poll
Get poll by Id
Get all polls
Get polls by identifer
Create Vote
Get Vote by Id
Get all votes on a poll
Get all votes with identifier
Remove vote
Remove Poll
Powered By
GitBook
Remove Poll
Delete the poll
Deleting a Poll will remove all the data for the Poll including the Options and Votes.
post
https://api.pollsapi.com/v1
/remove/poll
Delete Poll
1
curl
-X POST https://api.pollsapi.com/v1/remove/poll
\
2
-H
"content-type: application/json"
\
3
-H
"api-key:
$API_KEY
"
\
4
-d
'
5
{
6
"poll_id": "5f9f7b186477891e5bc646a1"
7
}
8
'
Copied!
Request Body
1
{
2
"poll_id"
:
"5f9f7b186477891e5bc646a1"
3
}
Copied!
API - Previous
Remove vote
Last modified
1yr ago
Copy link
Contents
post
Delete Poll
Request Body