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
Details
type WebhookDelete {
webhookErrors: [WebhookError!]! @deprecated
errors: [WebhookError!]!
webhook: Webhook
}
Arguments
id ● ID
ID of a webhook to delete. Cannot be used together with 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.
Type
WebhookDelete
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.