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

# Delete a pronunciation dictionary

> Deletes the dictionary. Any agents referencing it are automatically unbound (their `pronunciation_dictionary_id` becomes null); the response reports how many. Scope `pronunciation_dictionary:write` (admins only).



## OpenAPI

````yaml /api-reference/openapi.json delete /pronunciation-dictionaries/{dictionary_id}
openapi: 3.1.0
info:
  title: Lehar API
  version: v0
  description: >-
    Customer-facing REST API for the Lehar voice-AI platform. Platform-admin
    endpoints are intentionally excluded from this reference. Regenerate with
    `npm run sync:openapi`.
servers:
  - url: https://api.lehar.ai/ca/api/v0
security:
  - ApiKeyAuth: []
  - BearerAuth: []
paths:
  /pronunciation-dictionaries/{dictionary_id}:
    delete:
      tags:
        - Pronunciation Dictionaries
      summary: Delete a pronunciation dictionary
      description: >-
        Deletes the dictionary. Any agents referencing it are automatically
        unbound (their `pronunciation_dictionary_id` becomes null); the response
        reports how many. Scope `pronunciation_dictionary:write` (admins only).
      operationId: >-
        delete_pronunciation_dictionary_ca_api_v0_pronunciation_dictionaries__dictionary_id__delete
      parameters:
        - name: dictionary_id
          in: path
          required: true
          schema:
            type: string
      responses:
        '200':
          description: Deleted
          content:
            application/json:
              example:
                deleted: true
                agents_unbound: 0
        '404':
          description: Not found
components:
  securitySchemes:
    ApiKeyAuth:
      type: apiKey
      in: header
      name: X-API-KEY
    BearerAuth:
      type: http
      scheme: bearer

````