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

# Delete snippet

> Remove a snippet. Idempotent — deleting an ID that is already gone still returns 204. Requires snippets:write on a personal key (owk_live_). Never blocked by organization policy.



## OpenAPI

````yaml /openapi.json delete /snippets/{id}
openapi: 3.1.0
info:
  title: OpenWhispr API
  version: 1.0.0
  description: >-
    Manage notes, folders, transcriptions, dictionary words, snippets, and usage
    programmatically, and transcribe audio files (beta).
servers:
  - url: https://api.openwhispr.com/api/v1
    description: Production
security:
  - bearerAuth: []
paths:
  /snippets/{id}:
    delete:
      tags:
        - Snippets
      summary: Delete snippet
      description: >-
        Remove a snippet. Idempotent — deleting an ID that is already gone still
        returns 204. Requires snippets:write on a personal key (owk_live_).
        Never blocked by organization policy.
      operationId: deleteSnippet
      parameters:
        - name: id
          in: path
          required: true
          schema:
            type: string
          description: Snippet ID.
      responses:
        '204':
          description: Snippet deleted (or was already gone).
        '403':
          description: Missing snippets:write, or a workspace key.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
components:
  schemas:
    Error:
      type: object
      properties:
        error:
          type: object
          properties:
            code:
              type: string
            message:
              type: string
          required:
            - code
            - message
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      description: >-
        API key starting with owk_live_ (personal) or ow_wks_live_ (workspace —
        see space_id on the Notes/Folders endpoints below)

````