> For the complete documentation index, see [llms.txt](https://docs.zapsign.com.br/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.zapsign.com.br/webhooks/deletar-webhook.md).

# Deletar webhook

Existem várias situações em que você pode precisar remover um webhook, como ao desativar integrações antigas ou reconfigurar endpoints. Para facilitar, você pode deletar um webhook diretamente pelo painel de controle, acessando **Configurações>Integrações>Api ZapSign>** [**Webhooks**](https://app.zapsign.com.br/conta/configuracoes/integration?tab=api-zapsign) e excluindo a url dos seus eventos.<br>

![Deletando webhooks via interface web.](https://github.com/AmandaAmani/documenta-ocurso/blob/main/deletando%20webhook.gif?raw=true)

***

Alternativamente, você pode deletar o webhook com este endpoint:

## Deletar webhook via api

<mark style="color:red;">`DELETE`</mark> `https://api.zapsign.com.br/api/v1/user/company/webhook/delete/`

#### Headers

<table><thead><tr><th width="292">Name</th><th>Type</th><th>Description</th></tr></thead><tbody><tr><td>Authorization<mark style="color:red;">*</mark></td><td>string</td><td><p>Api token a frente do texto "Bearer". </p><p>Ex: Bearer c7f35c84-7893-4087-b4fb-d1f06c23</p></td></tr></tbody></table>

#### Request Body

```
{
    "id": "{{webhook_id}}"
}

```

| Name                                 | Type   | Description                  |
| ------------------------------------ | ------ | ---------------------------- |
| id<mark style="color:red;">\*</mark> | string | Id do webhook a ser deletado |

{% tabs %}
{% tab title="200: OK " %}
Webhook deletado com sucesso
{% endtab %}
{% endtabs %}

### Exemplo de requisição

{% embed url="<https://www.postman.com/zapsign/workspace/zapsign-workspace/request/27495556-3c2b30d8-1ee5-4afa-b37a-8693355812c7?ctx=documentation>" %}


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.zapsign.com.br/webhooks/deletar-webhook.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
