UpdateWebhookInput
Partial input for updating a webhook subscription. Omitted fields are left unchanged.
When eventTypes is set, it replaces the existing list (it does not merge).
See Webhooks guide and CreateWebhookInput for valid eventTypes values.
input UpdateWebhookInput {
url: String
eventTypes: [String!]
label: String
headers: [WebhookHeaderInput!]
deliveryPaused: Boolean
}
Fields
UpdateWebhookInput.url ● String scalar
Destination URL (HTTPS only).
UpdateWebhookInput.eventTypes ● [String!] list scalar
Event types to subscribe to. Replaces the existing list when set. See CreateWebhookInput for valid values.
UpdateWebhookInput.label ● String scalar
Short label to identify this subscription.
UpdateWebhookInput.headers ● [WebhookHeaderInput!] list input
Optional headers to send with each webhook delivery.
UpdateWebhookInput.deliveryPaused ● Boolean scalar
Pause (true) or resume (false) outbound delivery. Soft-delete remains deleteWebhook only.
Member Of
updateWebhook mutation