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

# Delete a webhook endpoint

> Deletes the webhook endpoint and stops all future deliveries of its subscribed events. Returns `204 No Content` on success and `404` when the id doesn't exist or isn't visible to the caller.

Endpoints created by an app (via OAuth) can only be deleted by that app; an API key request returns `403`. To stop deliveries temporarily instead, [update](/api-reference/webhooks/update-a-webhook-endpoint) the endpoint's `status` to `disabled`.



## OpenAPI

````yaml /api-reference/v4.json delete /v4/webhook_endpoints/{id}
openapi: 3.0.3
info:
  title: Kit API
  version: '4.0'
servers:
  - url: https://api.kit.com
security: []
paths:
  /v4/webhook_endpoints/{id}:
    delete:
      tags:
        - Webhooks
      summary: Delete a webhook endpoint
      description: >-
        Deletes the webhook endpoint and stops all future deliveries of its
        subscribed events. Returns `204 No Content` on success and `404` when
        the id doesn't exist or isn't visible to the caller.


        Endpoints created by an app (via OAuth) can only be deleted by that app;
        an API key request returns `403`. To stop deliveries temporarily
        instead, [update](/api-reference/webhooks/update-a-webhook-endpoint) the
        endpoint's `status` to `disabled`.
      parameters:
        - name: id
          in: path
          required: true
          schema:
            type: integer
          example: 57
      responses:
        '204':
          description: Deletes the webhook endpoint
        '404':
          description: Returns a 404 when the provided id does not exist
          content:
            application/json:
              schema:
                type: object
                properties:
                  errors:
                    type: array
                    items:
                      type: string
                required:
                  - errors
              example:
                errors:
                  - Not Found
      security:
        - API Key: []
        - OAuth2: []
components:
  securitySchemes:
    API Key:
      description: Authenticate API requests via an API Key
      type: apiKey
      in: header
      name: X-Kit-Api-Key
    OAuth2:
      description: Authenticate API requests via an OAuth token
      type: oauth2
      flows:
        authorizationCode:
          authorizationUrl: https://api.kit.com/v4/oauth/authorize
          tokenUrl: https://api.kit.com/v4/oauth/token
          refreshUrl: https://api.kit.com/v4/oauth/token
          scopes:
            read: Read access to Kit API v4
            write: Write access to Kit API v4

````

## Related topics

- [Delete a webhook](/api-reference/webhooks-legacy/delete-a-webhook.md)
- [Webhooks overview](/webhooks/overview.md)
- [Get a webhook endpoint](/api-reference/webhooks/get-a-webhook-endpoint.md)
- [Create a webhook endpoint](/api-reference/webhooks/create-a-webhook-endpoint.md)
- [List webhook endpoints](/api-reference/webhooks/list-webhook-endpoints.md)
