Skip to main content
DELETE
/
api
/
v1
/
polls
/
{poll_hash}
Delete poll
curl --request DELETE \
  --url https://pollunit.com/api/v1/polls/{poll_hash} \
  --header 'Authorization: Bearer <token>'

Authorizations

Authorization
string
header
required

Personal API token — find yours under My Account → API.

Path Parameters

poll_hash
string
required

Poll admin_hash (owner/admin access required)

Query Parameters

organization_id
string

public_id of an organization the user belongs to. When given, the request runs in that organization context instead of the personal account.

Response

poll deleted