Skip to main content

UpdateWebhookSubscriptionInput

Input values needed to update a Webhook Subscription

input UpdateWebhookSubscriptionInput {
id: ID!
label: String!
endpoint: String!
secret: String
eventTypes: [ID!]!
status: WebhookSubscriptionCreationStatus!
}

Fields

UpdateWebhookSubscriptionInput.id ● ID! non-null scalar

Subscription to update

UpdateWebhookSubscriptionInput.label ● String! non-null scalar

A short descriptive label for the subscription (max 255 characters)

UpdateWebhookSubscriptionInput.endpoint ● String! non-null scalar

The endpoint URL events will be sent to (max 255 characters)

UpdateWebhookSubscriptionInput.secret ● String scalar

The optional secret to secure incoming webhook calls. We recommend a UUID-4 to be future proof. (max 36 characters)

UpdateWebhookSubscriptionInput.eventTypes ● [ID!]! non-null scalar

The types of subscribed events A subset of unique IDs from webhookEventTypes

UpdateWebhookSubscriptionInput.status ● WebhookSubscriptionCreationStatus! non-null enum

Control if the subscription should be enabled or not

Member Of

updateWebhookSubscription mutation