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

# Delete webhook

> **Plans:** `Free` · `Developer` · `Enterprise`

Workspace admins only. Normal management request limits and accounting apply; no webhook delivery fee. Destinations receive selected email content. URLs and Authorization values are write-only. Signing secrets are returned only by create and rotate. Deliveries are at least once, unordered, with a stable event ID. Failed transient requests retry for approximately 24 hours. History is retained for 7 days.



## OpenAPI

````yaml /openapi/openapi.json delete /api/v1/workspaces/{workspaceId}/webhooks/{webhookId}
openapi: 3.1.0
info:
  title: Mermail API
  version: 1.0.0
  description: >
    Programmatic Mermail API for scripts, agents, and integrations.


    ## Authentication


    Authorize with an API key from **Settings → API Keys**:


    ```

    x-api-key: sk-proj-…

    ```


    ## Plans


    Each endpoint page shows plan badges (**Public**, **All plans**, or
    **Developer+**). Free can call the core catalog; Developer-gated paths need
    Developer or Enterprise.


    ## Try it


    Every endpoint page includes an interactive playground. Click **Try it**,
    paste your API key into the `x-api-key` field, fill path/query/body fields
    (prefilled from examples), and send a live request to
    `https://console.mermail.app`. You can also copy the generated cURL /
    JavaScript / Python snippet.


    ## Credits


    Credits are workspace API-usage units, not currency amounts.


    | Class | Cost |

    | --- | ---: |

    | read | 1 |

    | write | 2 |

    | email_send | 5 |

    | provision | 10 |

    | ai_light | 15 |

    | ai_heavy | 25 |
  contact:
    name: Mermail
    email: contact@mermail.app
    url: https://mermail.app
servers:
  - url: https://console.mermail.app
    description: Production
security:
  - apiKeyAuth: []
tags:
  - name: Public
    description: No authentication
  - name: Usage
    description: Credits and email quotas
  - name: Workspaces
    description: Workspaces, members, storage
  - name: Domains
    description: Custom email domains (Developer+)
  - name: Mailboxes
    description: Agent inboxes
  - name: Emails
    description: Send, list, search, folders
  - name: Webhooks
    description: Email event subscriptions and delivery history
  - name: AI agent
    description: Mailbox agent chat
  - name: Task triage
    description: Task triagers (all plans)
  - name: RAG
    description: Knowledge documents and recall
  - name: Integrations
    description: Composio, Telegram, push
  - name: Affiliate
    description: Affiliate program
paths:
  /api/v1/workspaces/{workspaceId}/webhooks/{webhookId}:
    delete:
      tags:
        - Webhooks
      summary: Delete webhook
      description: >-
        **Plans:** `Free` · `Developer` · `Enterprise`


        Workspace admins only. Normal management request limits and accounting
        apply; no webhook delivery fee. Destinations receive selected email
        content. URLs and Authorization values are write-only. Signing secrets
        are returned only by create and rotate. Deliveries are at least once,
        unordered, with a stable event ID. Failed transient requests retry for
        approximately 24 hours. History is retained for 7 days.
      operationId: deleteWebhook
      parameters:
        - name: workspaceId
          in: path
          required: true
          schema:
            type: string
        - name: webhookId
          in: path
          required: true
          schema:
            type: string
      responses:
        '200':
          description: >-
            Operation result. Delivery history includes status, event,
            timestamps, attempt count, HTTP status and a safe failure
            explanation; no response bodies.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/WebhookDeleted'
        '400':
          description: Invalid input or unsafe destination
        '401':
          description: Authentication required
        '403':
          description: Workspace admin access required
        '404':
          description: Webhook or delivery not found in this workspace
        '409':
          description: Idempotency conflict or incompatible delivery state
        '429':
          description: Rate limit reached
      security:
        - apiKeyAuth: []
components:
  schemas:
    WebhookDeleted:
      type: object
      additionalProperties: false
      required:
        - deleted
      properties:
        deleted:
          type: boolean
          const: true
  securitySchemes:
    apiKeyAuth:
      type: apiKey
      in: header
      name: x-api-key
      description: >-
        API key (`sk-proj-…`) from Settings → API Keys. Required for sold API
        calls outside the Mermail console.

````