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

# Remove Webhook Failure Threshold

> Removes the `failure_threshold` from an enrolled webhook, disabling failure alerts for that webhook.
The webhook itself remains enrolled and continues to receive events.




## OpenAPI

````yaml /email-api/api-reference/openapi.yaml delete /webhook/failure-threshold
openapi: 3.0.0
info:
  contact:
    email: support@mailchannels.com
    name: MailChannels Corporation
  description: >
    This is the API reference for Email API. Here, you'll find more detailed
    information on every endpoint, including parameters, response formats, and
    error codes.
  title: Email API
  version: 1.9.0
servers:
  - url: https://api.mailchannels.net/tx/v1
security: []
tags:
  - name: Send
  - name: DKIM
  - name: Metrics
  - name: Sub-accounts
  - name: Suppression
  - name: Webhooks
  - name: Usage
  - name: Custom Tracking
paths:
  /webhook/failure-threshold:
    delete:
      tags:
        - Webhooks
      summary: Remove Webhook Failure Threshold
      description: >
        Removes the `failure_threshold` from an enrolled webhook, disabling
        failure alerts for that webhook.

        The webhook itself remains enrolled and continues to receive events.
      parameters:
        - description: >
            the URL of the enrolled webhook whose failure threshold should be
            removed. It must match the

            webhook URL exactly as returned by `GET /webhook`.
          in: query
          name: endpoint
          required: true
          schema:
            maxLength: 8000
            type: string
        - in: header
          name: X-Api-Key
          required: true
          schema:
            type: string
      responses:
        '204':
          description: Successfully removed the failure threshold
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Bad Request. The endpoint is missing.
        '404':
          description: No webhook with the given endpoint is enrolled for this customer
        '500':
          description: Internal Server Error
components:
  schemas:
    ErrorResponse:
      properties:
        errors:
          description: >
            This is an array error objects that provide machine and human
            readable descriptions of the errors.
          items:
            type: string
          type: array
      type: object

````

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