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

# Remover webhook

> **Requer Bearer JWT**.



## OpenAPI

````yaml delete /api/webhooks-config/{id}
openapi: 3.0.0
info:
  title: NTX Pay Public API — México
  description: >-
    API Pública NTX Pay para integração com SPEI (cash-in/cash-out) no México.
    Todos os valores monetários são expressos em centavos MXN.
  version: 1.0.0
  contact: {}
servers:
  - url: https://sandbox.mx.ntxpay.com
    description: Sandbox
security: []
tags:
  - name: auth
    description: Geração de token via certificado X.509 + clientId/clientSecret
  - name: SPEI
    description: >-
      Transferências interbancárias instantâneas mexicanas (cash-in via CLABE
      descartável; cash-out para CLABE)
  - name: Balance
    description: Consulta de saldo da conta (centavos MXN)
  - name: Webhooks Config
    description: Configuração de webhooks para notificações de eventos
paths:
  /api/webhooks-config/{id}:
    delete:
      tags:
        - Webhooks Config
      summary: Remover webhook
      description: '**Requer Bearer JWT**.'
      operationId: WebhooksConfigController_delete
      parameters:
        - name: id
          in: path
          required: true
          schema:
            type: integer
          description: ID do webhook
      responses:
        '200':
          description: Webhook removido
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/DeleteWebhookOutputDto'
        '401':
          description: Token inválido
        '404':
          description: Webhook não encontrado
        '502':
          description: Serviço temporariamente indisponível
      security:
        - bearer: []
components:
  schemas:
    DeleteWebhookOutputDto:
      type: object
      properties:
        success:
          type: boolean
          example: true
        message:
          type: string
          example: Webhook removido com sucesso
  securitySchemes:
    bearer:
      type: http
      scheme: bearer
      bearerFormat: JWT
      description: JWT obtido em POST /api/auth/token

````