# 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>" %}
