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

# Delete organization-level webhook

> Permanently delete the organization-owned webhook and its delivery history. Repeating deletion returns 404. Requires an organization API key with visitor Data API access. All webhook operations share 30 requests per 60 seconds per source IP. Dedicated admin API credentials also authorize platform-wide management, including white-label targets; customer bearer/API-key restrictions described above remain unchanged. Existing resource validation and business-state rules still apply.



## OpenAPI

````yaml https://api.aws53.cloud/openapi-data.json delete /v1/data/webhooks/{webhookId}
openapi: 3.1.0
info:
  title: Identification API
  version: 1.0.0
  description: >-
    Query visitor data and manage tracking pixels and outbound visitor webhooks.
    Authenticate with your API key (X-API-Key header).
servers:
  - url: https://api.aws53.cloud
    description: Production
security:
  - apiKeyAuth: []
tags:
  - name: Visitors
    description: Visitor resources and privacy-bounded activity.
  - name: Pixels
    description: Tracking pixel installation and configuration.
  - name: Account
    description: Organization account health and API entitlements.
  - name: Visitor Suppression
    description: Organization visitor suppression rules.
  - name: Webhooks
    description: Webhook destinations, deliveries, and provider callbacks.
  - name: Usage
    description: Organization usage and billing-period consumption.
paths:
  /v1/data/webhooks/{webhookId}:
    delete:
      tags:
        - Webhooks
      summary: Delete organization-level webhook
      description: >-
        Permanently delete the organization-owned webhook and its delivery
        history. Repeating deletion returns 404. Requires an organization API
        key with visitor Data API access. All webhook operations share 30
        requests per 60 seconds per source IP. Dedicated admin API credentials
        also authorize platform-wide management, including white-label targets;
        customer bearer/API-key restrictions described above remain unchanged.
        Existing resource validation and business-state rules still apply.
      operationId: deleteDataWebhook
      parameters:
        - schema:
            type: string
            format: uuid
            description: Webhook endpoint ID in this organization
            example: 11111111-1111-4111-8111-111111111111
          required: true
          description: Webhook endpoint ID in this organization
          name: webhookId
          in: path
          example: 11111111-1111-4111-8111-111111111111
        - name: X-Whitelabel-Slug
          in: header
          required: false
          description: >-
            Optional tenant context for admin-key operations without an
            organization target, such as creating an organization. Defaults to
            the master tenant. Must match an explicit target organization when
            both are supplied. Does not limit the key’s platform authority.
          schema:
            type: string
            minLength: 1
            maxLength: 100
          example: agency-test
        - name: X-Organization-Id
          in: header
          required: false
          description: >-
            Target organization for admin-key requests on organization-context
            routes, including Data API, intent audiences and dashboard routes
            without an organization path parameter. Required on those routes.
            When supplied with an organization path parameter, both must
            identify the same organization; conflicting targets return 400. Does
            not grant access to customer credentials.
          schema:
            type: string
            format: uuid
          example: 11111111-1111-4111-8111-111111111111
      responses:
        '204':
          description: Webhook deleted successfully
          headers:
            RateLimit-Limit:
              description: Requests allowed per 60 seconds.
              schema:
                type: integer
            RateLimit-Remaining:
              description: Requests remaining in the window.
              schema:
                type: integer
            RateLimit-Reset:
              description: Seconds until the window resets.
              schema:
                type: integer
        '400':
          description: Invalid webhook request
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: object
                    properties:
                      code:
                        type: string
                      message:
                        type: string
                      details: {}
                    required:
                      - code
                      - message
                  meta:
                    type: object
                    properties:
                      timestamp:
                        type: string
                        format: date-time
                      request_id:
                        type: string
                    required:
                      - timestamp
                      - request_id
                required:
                  - error
                  - meta
              example:
                error:
                  code: VALIDATION_ERROR
                  message: Invalid webhook request
                meta:
                  timestamp: '2026-01-15T10:00:00Z'
                  request_id: 11111111-1111-4111-8111-111111111111
        '401':
          description: Missing or invalid API key
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: object
                    properties:
                      code:
                        type: string
                      message:
                        type: string
                      details: {}
                    required:
                      - code
                      - message
                  meta:
                    type: object
                    properties:
                      timestamp:
                        type: string
                        format: date-time
                      request_id:
                        type: string
                    required:
                      - timestamp
                      - request_id
                required:
                  - error
                  - meta
              example:
                error:
                  code: HTTP_ERROR
                  message: Missing or invalid API key
                meta:
                  timestamp: '2026-01-15T10:00:00Z'
                  request_id: 11111111-1111-4111-8111-111111111111
        '403':
          description: API key revoked or organization lacks visitor Data API access
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: object
                    properties:
                      code:
                        type: string
                      message:
                        type: string
                      details: {}
                    required:
                      - code
                      - message
                  meta:
                    type: object
                    properties:
                      timestamp:
                        type: string
                        format: date-time
                      request_id:
                        type: string
                    required:
                      - timestamp
                      - request_id
                required:
                  - error
                  - meta
              example:
                error:
                  code: HTTP_ERROR
                  message: >-
                    API key revoked or organization lacks visitor Data API
                    access
                meta:
                  timestamp: '2026-01-15T10:00:00Z'
                  request_id: 11111111-1111-4111-8111-111111111111
        '404':
          description: Webhook or filter not found in this organization
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: object
                    properties:
                      code:
                        type: string
                      message:
                        type: string
                      details: {}
                    required:
                      - code
                      - message
                  meta:
                    type: object
                    properties:
                      timestamp:
                        type: string
                        format: date-time
                      request_id:
                        type: string
                    required:
                      - timestamp
                      - request_id
                required:
                  - error
                  - meta
              example:
                error:
                  code: HTTP_ERROR
                  message: Webhook or filter not found in this organization
                meta:
                  timestamp: '2026-01-15T10:00:00Z'
                  request_id: 11111111-1111-4111-8111-111111111111
        '429':
          description: Too many requests, please try again later
          headers:
            RateLimit-Limit:
              description: Requests allowed per 60 seconds.
              schema:
                type: integer
            RateLimit-Remaining:
              description: Requests remaining in the window.
              schema:
                type: integer
            RateLimit-Reset:
              description: Seconds until the window resets.
              schema:
                type: integer
            Retry-After:
              description: Seconds to wait before retrying.
              schema:
                type: integer
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: object
                    properties:
                      code:
                        type: string
                      message:
                        type: string
                      details: {}
                    required:
                      - code
                      - message
                  meta:
                    type: object
                    properties:
                      timestamp:
                        type: string
                        format: date-time
                      request_id:
                        type: string
                    required:
                      - timestamp
                      - request_id
                required:
                  - error
                  - meta
              example:
                error:
                  code: RATE_LIMIT_EXCEEDED
                  message: Too many requests, please try again later
                meta:
                  timestamp: '2026-01-15T10:00:00Z'
                  request_id: 11111111-1111-4111-8111-111111111111
      security:
        - apiKeyAuth: []
        - adminApiKeyAuth: []
components:
  securitySchemes:
    apiKeyAuth:
      type: apiKey
      in: header
      name: X-API-Key
      description: >-
        Organization API key (sk_...). Get yours from Settings > API Keys in the
        dashboard.
    adminApiKeyAuth:
      type: apiKey
      in: header
      name: X-Admin-API-Key
      description: >-
        Dedicated full-access management credential, issued to an active
        master-superadmin actor. Never a customer organization API key. Use one
        credential per request. Admin-header requests are limited to 600 per 60
        seconds per source IP per process, in addition to existing route limits;
        429 responses emit Retry-After and RateLimit-Limit/Remaining/Reset.
        Organization-scoped operations require X-Organization-Id where no target
        organization is in the path.

````

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