> Documentation index: [Saleor](/llms.txt) · [This section](/api-reference/webhooks/llms.txt)
> Source: https://docs.saleor.io/api-reference/webhooks/mutations/webhook-delete

# webhookDelete Mutation

Deletes a webhook. Before the deletion, the webhook is deactivated to pause any deliveries that are already scheduled. The deletion might fail if delivery is in progress. In such a case, the webhook is not deleted but remains deactivated.

Requires one of the following permissions: MANAGE\_APPS AUTHENTICATED\_APP

```graphql
webhookDelete(
  id: ID
  identifier: String
): WebhookDelete
```

Details

```graphql
type WebhookDelete {
  webhookErrors: [WebhookError!]! @deprecated
  errors: [WebhookError!]!
  webhook: Webhook
}
```

<a id="arguments"></a>

### Arguments

<a id="id"></a>

#### [`id`](#id) ● [`ID`](/api-reference/miscellaneous/scalars/id.md)

ID of a webhook to delete. Cannot be used together with `identifier`.

<a id="identifier"></a>

#### [`identifier`](#identifier) ● [`String`](/api-reference/miscellaneous/scalars/string.md)

App-provided identifier of a webhook to delete. Identifiers are unique per app only, so this argument is available exclusively to an app referencing its own webhook; staff users must use `id`. Cannot be used together with `id`.

Added in Saleor 3.23

<a id="type"></a>

### Type

<a id="webhookdelete"></a>

#### [`WebhookDelete`](/api-reference/webhooks/objects/webhook-delete.md)

Deletes a webhook. Before the deletion, the webhook is deactivated to pause any deliveries that are already scheduled. The deletion might fail if delivery is in progress. In such a case, the webhook is not deleted but remains deactivated.

Requires one of the following permissions: MANAGE\_APPS AUTHENTICATED\_APP
