Skip to main content
DELETE
Delete vote

Authorizations

Authorization
string
header
required

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

Headers

X-POLLUNIT-USER-IDENTIFIER
string

Your own identification of the user on whose behalf the request is made, any string. The user identifiers should not be guessable and stay secret, otherwise users could get access to other users' contents. Only used with a public API token: the created or changed object belongs to that anonymous user instead of the token owner, which keeps the user in control of it in later requests with the same identifier.

X-POLLUNIT-POLL-PASSWORD
string

Access password of the poll. Only needed for password protected polls.

Path Parameters

poll_id
string
required

Poll member_hash or admin_hash

id
string
required

Vote id

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

vote deleted