Skip to main content

WebhookDelete

Delete 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_APPSAUTHENTICATED_APP
type WebhookDelete {
webhookErrors: [WebhookError!]! @deprecated
errors: [WebhookError!]!
webhook: Webhook
}

Fields

WebhookDelete.webhookErrors ● [WebhookError!]! deprecated non-null object webhooks

DEPRECATED

This field will be removed in Saleor 4.0. Use errors field instead.

WebhookDelete.errors ● [WebhookError!]! non-null object webhooks

WebhookDelete.webhook ● Webhook object webhooks

Returned By

webhookDelete mutation