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

# Delete a webhook subscription



## OpenAPI

````yaml specs/webhooks.yaml DELETE /v1/webhook-subscriptions/{subscription_id}
openapi: 3.0.3
info:
  title: AssemblyAI Voice Agent Webhooks API
  description: >
    Subscribe to session and call lifecycle events for your voice agents.
    AssemblyAI

    POSTs a signed JSON payload to your URL when each event fires. See

    [Webhooks](/voice-agents/voice-agent-api/webhooks).
  version: 1.0.0
  termsOfService: https://www.assemblyai.com/legal/terms-of-service
  contact:
    name: API Support
    email: support@assemblyai.com
    url: https://www.assemblyai.com/docs/
servers:
  - url: https://agents.assemblyai.com
    description: Production server
    x-fern-server-name: Default
security: []
paths:
  /v1/webhook-subscriptions/{subscription_id}:
    parameters:
      - name: subscription_id
        in: path
        required: true
        schema:
          type: string
          example: 0d75ebd7-937c-495c-b638-ba582ec05b39
    delete:
      summary: Delete a webhook subscription
      operationId: deleteWebhookSubscription
      responses:
        '204':
          description: The subscription was deleted.
        '401':
          $ref: '#/components/responses/Unauthorized'
        '404':
          $ref: '#/components/responses/NotFound'
      security:
        - apiKey: []
components:
  responses:
    Unauthorized:
      description: Unauthorized. Invalid or missing API key.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
    NotFound:
      description: The subscription was not found.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
  schemas:
    Error:
      type: object
      properties:
        detail:
          type: string
          example: Unauthorized
  securitySchemes:
    apiKey:
      type: apiKey
      in: header
      name: Authorization
      description: >-
        Your AssemblyAI API key in the Authorization header (raw key; a Bearer
        prefix is also accepted).

````