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

# Destroying a Webhook

> This endpoint destroys a webhook

## Request URL

```http theme={null}
DELETE https://app.tatango.com/api/v2/lists/{ID}/webhooks/{WEBHOOK_ID}
```


## OpenAPI

````yaml DELETE /api/v2/lists/{ID}/webhooks/{WEBHOOK_ID}
openapi: 3.1.0
info:
  title: Tatango Legacy v2 API
  description: Tatango legacy v2 API endpoints for existing integrations.
  version: 2.0.0
servers:
  - url: https://app.tatango.com
security:
  - basicAuth: []
paths:
  /api/v2/lists/{ID}/webhooks/{WEBHOOK_ID}:
    delete:
      tags:
        - Webhooks
      summary: Destroying a Webhook
      description: This endpoint destroys a webhook.
      parameters:
        - name: ID
          in: path
          description: The ID of the list
          required: true
          schema:
            type: integer
        - name: WEBHOOK_ID
          in: path
          required: true
          schema:
            type: integer
          description: The ID of the webhook
      responses:
        '200':
          description: Webhook destroyed successfully
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    type: string
                    example: Webhook destroyed
              example:
                status: Webhook destroyed
      x-codeSamples:
        - lang: cURL
          label: cURL
          source: >-
            curl
            "https://app.tatango.com/api/v2/lists/{ID}/webhooks/{WEBHOOK_ID}" -X
            DELETE \
              -H "Accept: application/json" \
              -H "Content-Type: application/json" \
              -u emailaddress@mydomain.com:my_api_key \
              -H "Host: example.org" \
              -H "Cookie: "
        - lang: Ruby
          label: Ruby
          source: >-
            require 'net/http'

            require 'uri'


            uri =
            URI.parse('https://app.tatango.com/api/v2/lists/{ID}/webhooks/{WEBHOOK_ID}')

            http = Net::HTTP.new(uri.host, uri.port)

            request = Net::HTTP::Delete.new(uri.request_url)

            request.basic_auth("emailaddress@mydomain.com", "my_api_key")

            response = http.request(request)
        - lang: JavaScript
          label: JavaScript
          source: >-
            var request = new XMLHttpRequest();

            request.open('DELETE',
            'https://app.tatango.com/api/v2/lists/{ID}/webhooks/{WEBHOOK_ID}',
            false);

            request.setRequestHeader('Content-Type', 'application/json');

            request.setRequestHeader('Authorization', 'Basic ' +
            btoa('emailaddress@mydomain.com:my_api_key'));

            request.send(null);
components:
  securitySchemes:
    basicAuth:
      type: http
      scheme: basic
      description: >-
        Tatango authenticates API requests by validating an API key passed via
        HTTP Basic Authentication. Use your login email as the username and your
        API key as the password.

````