> ## Documentation Index
> Fetch the complete documentation index at: https://api.pollunit.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Delete poll



## OpenAPI

````yaml /api-reference/openapi.json delete /api/v1/polls/{poll_hash}
openapi: 3.0.1
info:
  title: PollUnit API
  version: v1
  description: Programmatic access to PollUnit.
servers:
  - url: https://pollunit.com
    description: Production
  - url: http://localhost:3000
    description: Development
security:
  - bearerAuth: []
paths:
  /api/v1/polls/{poll_hash}:
    parameters:
      - name: organization_id
        in: query
        required: false
        description: >-
          public_id of an organization the user belongs to. When given, the
          request runs in that organization context instead of the personal
          account.
        schema:
          type: string
    delete:
      tags:
        - Polls
      summary: Delete poll
      parameters:
        - name: poll_hash
          in: path
          description: Poll admin_hash (owner/admin access required)
          required: true
          schema:
            type: string
      responses:
        '204':
          description: poll deleted
        '401':
          description: unauthorized
        '403':
          description: forbidden (member_hash does not grant delete)
        '404':
          description: poll not found
      security:
        - bearerAuth: []
components:
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: opaque
      description: Personal API token — find yours under My Account → API.

````