---
title: "Delete a poll vote"
method: DELETE
path: "/v2/polls/{pollId}/votes/{voteId}"
tags: ["Polls"]
---

# Delete a poll vote

`DELETE /v2/polls/{pollId}/votes/{voteId}`

## Request

- Base URL: `https://api.zenzap.co`
- URL: `https://api.zenzap.co/v2/polls/{pollId}/votes/{voteId}`
- Auth: one of:
  - HTTP bearer and API key in header `X-Signature`
  - OAuth 2
    - Client credentials
    - Token URL: `https://api.zenzap.co/oauth/token` scopes: `poll:write`
- TypeScript: <https://skmtc.dev/zenzap/apis/zenzap-external-integration-api/docs/v2/polls/:pollId/votes/:voteId/delete.ts> (a function with typed inputs; its response is checked against the schema)

Retract a previously cast vote on a poll. Provide the poll ID and the vote ID returned when the vote was cast.

## Path parameters

- `pollId` string, uuid, required
- `voteId` string, required

## Headers

- `X-Signature` string
- `X-Timestamp` integer

## Response `204`

Vote deleted successfully

## Other responses

- `401`: Unauthorized - invalid or missing API token
- `404`: Vote not found
- `500`: Internal server error

---

[API](https://skmtc.dev/zenzap/apis/zenzap-external-integration-api.md) - [All operations](https://skmtc.dev/zenzap/apis/zenzap-external-integration-api/llms.txt) - [OpenAPI document](https://skmtc.dev/zenzap/apis/zenzap-external-integration-api/revisions/37faae2c2036?raw)
