> ## 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 webhook subscription

> Scope `api_keys:write`.



## OpenAPI

````yaml /api-reference/openapi.json delete /webhooks/subscriptions/{subscription_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:
  /webhooks/subscriptions/{subscription_id}:
    delete:
      tags:
        - Webhook Subscriptions
      summary: Delete a webhook subscription
      description: Scope `api_keys:write`.
      operationId: >-
        delete_subscription_ca_api_v0_webhooks_subscriptions__subscription_id__delete
      parameters:
        - name: subscription_id
          in: path
          required: true
          schema:
            type: string
      responses:
        '200':
          description: Deleted
          content:
            application/json:
              example:
                deleted: true
                id: whsub_01EXAMPLE
components:
  securitySchemes:
    ApiKeyAuth:
      type: apiKey
      in: header
      name: X-API-KEY
    BearerAuth:
      type: http
      scheme: bearer

````