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

# Delete Webhook

> Permanently deletes a webhook. Autumn stops sending it events immediately. Cannot be undone.

### Body Parameters

The webhook's ID. Webhooks made in the dashboard use the `ep_…` ID shown by `webhooks.list`.

### Response

Always true when the webhook was deleted.

```json 200 theme={null}
{
  "success": true
}
```


## OpenAPI

````yaml openapi POST /v1/webhooks.delete
openapi: 3.1.0
info:
  title: Autumn API
  version: 2.6.0
servers:
  - url: https://api.useautumn.com
    description: Production server
security:
  - secretKey: []
paths:
  /v1/webhooks.delete:
    post:
      tags:
        - webhooks
      description: >-
        Permanently deletes a webhook. Autumn stops sending it events
        immediately. Cannot be undone.
      operationId: deleteWebhook
      parameters:
        - name: x-api-version
          in: header
          required: true
          schema:
            type: string
            default: 2.6.0
          x-speakeasy-globals-hidden: true
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                id:
                  type: string
                  minLength: 1
                  maxLength: 256
                  pattern: ^[a-zA-Z0-9_-]+$
                  description: >-
                    The webhook's ID. Webhooks made in the dashboard use the
                    `ep_…` ID shown by `webhooks.list`.
              required:
                - id
              title: DeleteWebhookParams
              examples:
                - id: billing
            example:
              id: billing
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                properties:
                  success:
                    const: true
                    description: Always true when the webhook was deleted.
                required:
                  - success
                title: DeleteWebhookResponse
                examples:
                  - success: true
              example:
                success: true
      x-codeSamples:
        - lang: typescript
          label: Typescript (SDK)
          source: |-
            import { Autumn } from 'autumn-js'

            const autumn = new Autumn()

            const result = await autumn.webhooks.delete({
              id: "billing",
            });
        - lang: python
          label: Python (SDK)
          source: |-
            from autumn_sdk import Autumn

            autumn = Autumn(secret_key="am_sk_test...")

            res = autumn.webhooks.delete(id="billing")
components:
  securitySchemes:
    secretKey:
      type: http
      scheme: bearer
      bearerFormat: JWT

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.