StrawPoll API


Delete a Poll

To delete a poll via API, we can send an authenticated request to the backend. The ID of the poll must be added in the JSON string in the POST data.
DELETE https://strawpoll.com/api/content/delete

Post Data:

{"content_id":"<<id>>"}
(replace <<id>> with your poll id)

Example:

curl 'https://strawpoll.com/api/content/delete' \
--header 'API-KEY: <<api_key>>' \
--data-binary '{"content_id":"rae5gcp1"}'