> For the complete documentation index, see [llms.txt](https://devcenter.unico.io/unico-people/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://devcenter.unico.io/unico-people/unico-people-v1/apis/webhooks/delete-webhook.md).

# Delete webhook

Para deletar algum webhook cadastrado na empresa.

<mark style="color:red;">`DELETE`</mark> \ <mark style="color:$primary;">**Url Produção:**</mark> `https://api.acessorh.com.br`\ <mark style="color:$primary;">**Url Homologação:**</mark> `https://api.rh.homolog.acesso.io`\ <mark style="color:$primary;">**Endpoint:**</mark> `/v1/integrations/webhook`

### **Headers**

| Key                                             | Type   | Description                                                    |
| ----------------------------------------------- | ------ | -------------------------------------------------------------- |
| Authorization<mark style="color:red;">\*</mark> | string | Token de acesso adquirido pela plataforma Identity *(bearer)*. |

### **Query Parameters**

| Key                                       | Type   | Description                                  |
| ----------------------------------------- | ------ | -------------------------------------------- |
| uid<mark style="color:red;">\*</mark>     | string | UID do webhook a ser removido.               |
| account<mark style="color:red;">\*</mark> | string | UID da empresa onde o webhook será removido. |

{% hint style="warning" %}
É necessário informar o uid da **empresa** e o do **webhook** também, é possível consultar aqui.
{% endhint %}

### Exemplo de requisição

```json
curl --location --request DELETE 'https://api.acessorh.com.br/v1/integrations/webhook?account=uid%20da%20empresa&uid=id%20do%20webhook' \
--header 'Authorization: Bearer token de acesso' \
--data ''
```

### Exemplo de response

{% code title="200 OK" %}

```
```

{% endcode %}
