# Delete a webhook subscription

Source: https://developer.avalara.com/products/e-invoicing/integration-guides/elr/qfa7582173491953/

Guide: E-Invoicing and Live Reporting

# Delete a webhook subscription

**Endpoint**: `DELETE /einvoicing/webhooks/subscriptions/:subscription-id`

Remove a subscription from the webhook dispatch service. This action deletes all related events and subscriptions.

For details, see [DeleteWebhookSubscription](https://developer.avalara.com/api-reference/e-invoicing/v1.6/methods/Subscriptions/DeleteWebhookSubscription/).

**Headers**

Name

Description

**avalara-version**

1.5

(Required) The version of the API to use, for example, "1.4."

**Accept**

application/json

**X-Avalara-Client**

ProvidedToYouByAvalara

**Path variable**

Name

Description

**subscription-id**

`{{subscriptionId}}`

(Required)

## Example Request

```
curl --location -g --request DELETE '/einvoicing/webhooks/subscriptions/{{subscriptionId}}' \
--header 'avalara-version: 1.5' \
--header 'Accept: application/json' \
--header 'X-Avalara-Client: ProvidedToYouByAvalara'
```