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.
webhookDelete(id: ID, identifier: String): WebhookDelete
Returns
Show return type
type WebhookDelete {
webhookErrors: [WebhookError!]! @deprecated(reason: "Use `errors` field instead.")
errors: [WebhookError!]!
webhook: Webhook
}Arguments
id
id · ID
ID of a webhook to delete. Cannot be used together with identifier.
identifier
identifier · String
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.
Schema: Saleor 3.23.43. Download SDL.