# Delete Webhook

There are several situations where you might need to remove a webhook, such as when disabling old integrations or reconfiguring endpoints. To make this easier, you can delete a webhook directly from the control panel by navigating to **Settings > Integrations > ZapSign API >** [**Webhooks**](https://app.zapsign.co/conta/configuracoes/integration?tab=api-zapsign) and deleting the URL associated with your events.\ <br>

<figure><img src="https://github.com/AmandaAmani/documenta-ocurso/blob/main/deletando%20webhook%20usa.gif?raw=true" alt=" GIF demonstrating the process of deleting a webhook in the ZapSign control panel, showing navigation steps from Settings to Integrations, selecting ZapSign API, and removing the webhook URL from events."><figcaption><p>Deleting a Webhook</p></figcaption></figure>

\
Alternatively, you can delete the webhook using this endpoint

## Delete a webhook

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

#### Headers

| Name                                            | Type   | Description                                                                                    |
| ----------------------------------------------- | ------ | ---------------------------------------------------------------------------------------------- |
| Authorization<mark style="color:red;">\*</mark> | string | <p>apiToken ahead of the "Bearer" text. </p><p>Ex: Bearer c7f35c84-7893-4087-b4fb-d1f06c23</p> |

#### Request Body

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

```

| Name | Type   | Description                        |
| ---- | ------ | ---------------------------------- |
| id   | string | The webhook id you want to delete. |

{% tabs %}
{% tab title="200: OK " %}
Webhook deleted successfully
{% endtab %}
{% endtabs %}

### Request

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


---

# Agent Instructions: Querying This Documentation

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

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.zapsign.com.br/english/webhooks/delete-webhook.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
