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

# Delete a webhook endpoint

> Deletes a webhook endpoint. The endpoint stops receiving event notifications immediately, and subsequent requests for the endpoint return a `404 Not Found` error. Only endpoints matching the `live` or `test` mode of the API key can be deleted.

**`v1`** · Base URL `https://api.fintoc.com/v1`


## OpenAPI

````yaml reference/fintoc-api.json DELETE /webhook_endpoints/{id}
openapi: 3.1.0
info:
  title: fintoc-api
  version: v2026-02-01
servers:
  - url: https://api.fintoc.com/v1
security: []
paths:
  /webhook_endpoints/{id}:
    delete:
      tags:
        - Webhook endpoints
      summary: Delete a webhook endpoint
      description: >-
        Deletes a webhook endpoint. The endpoint stops receiving event
        notifications immediately, and subsequent requests for the endpoint
        return a `404 Not Found` error. Only endpoints matching the `live` or
        `test` mode of the API key can be deleted.
      operationId: webhook-endpoints-delete
      parameters:
        - name: id
          in: path
          description: The `id` of the webhook endpoint to delete.
          required: true
          schema:
            type: string
      responses:
        '204':
          description: Webhook endpoint deleted. The response has no body.
        '401':
          description: Invalid or missing API key.
          content:
            application/json:
              examples:
                invalid_api_key:
                  value:
                    error:
                      type: authentication_error
                      code: invalid_api_key
                      message: 'Invalid API Key: invalid-*oken'
              schema:
                $ref: '#/components/schemas/error_object'
        '404':
          description: >-
            The webhook endpoint does not exist, was already deleted, or belongs
            to a different mode than the API key.
          content:
            application/json:
              examples:
                webhook_endpoint_not_found:
                  value:
                    error:
                      type: invalid_request_error
                      code: missing_resource
                      param: id
                      message: 'No such webhook_endpoint: we_M6yrvOepCe3Rqp8B'
                      doc_url: https://docs.fintoc.com/reference/errors
              schema:
                $ref: '#/components/schemas/error_object'
      security:
        - api_key: []
components:
  schemas:
    error_object:
      type: object
      properties:
        error:
          type: object
          description: Details of the error that caused the request to fail.
          properties:
            code:
              type: string
              description: >-
                Machine-readable code identifying the specific error, for
                example `invalid_api_key`. Not returned by every error.
              example: invalid_api_key
            doc_url:
              type: string
              description: >-
                URL of a documentation page with more details about the error.
                Not returned by every error.
              example: https://docs.fintoc.com/reference/errors
            message:
              type: string
              description: Human-readable message describing the error.
              example: 'Invalid API Key: invalid-*oken'
            param:
              type:
                - string
                - 'null'
              description: >-
                Name of the request parameter that caused the error. `null` when
                the error cannot be tied to a single parameter, and not returned
                by every error.
              example: amount
            type:
              type: string
              description: >-
                Category of the error, for example `invalid_request_error`,
                `authentication_error`, or `api_error`.
              example: invalid_request_error
          required:
            - type
            - message
  securitySchemes:
    api_key:
      type: apiKey
      name: Authorization
      in: header

````