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

# Remover webhook

> Remove um webhook da instância.



## OpenAPI

````yaml /pt-br/api-reference/openapi.json delete /instances/{id}/webhooks/{webhookId}
openapi: 3.1.0
info:
  title: Zapfy API
  description: >-
    API de WhatsApp multi-tenant. Envie mensagens e gerencie webhooks por uma
    superfície única.
  version: 1.0.0
servers:
  - url: https://api.zapfy.io/v1
security:
  - accountToken: []
paths:
  /instances/{id}/webhooks/{webhookId}:
    parameters:
      - $ref: '#/components/parameters/InstanceId'
      - $ref: '#/components/parameters/WebhookId'
    delete:
      tags:
        - Webhooks
      summary: Remover webhook
      description: Remove um webhook da instância.
      responses:
        '204':
          description: Webhook removido.
        '401':
          $ref: '#/components/responses/Error'
        '404':
          $ref: '#/components/responses/Error'
components:
  parameters:
    InstanceId:
      name: id
      in: path
      required: true
      description: ID da instância.
      schema:
        type: string
    WebhookId:
      name: webhookId
      in: path
      required: true
      description: ID do webhook.
      schema:
        type: string
  responses:
    Error:
      description: Erro.
      content:
        application/json:
          schema:
            type: object
            properties:
              error:
                type: string
                example: Instance not found
  securitySchemes:
    accountToken:
      type: http
      scheme: bearer
      description: Token de conta (`zpfy_acct_...`) — gerencia instâncias e webhooks.

````