Skip to main content

updateWebhookTarget

Mutation

Used to update the details of a specific webhook.

updateWebhookTarget(input: WebhookTargetUpdateRequestInput): WebhookTargetUpdateResponse

Arguments​

ArgumentTypeDefaultDescription
inputWebhookTargetUpdateRequestInputProvide the webhook details you want to update here, such as name and maxRetry value.

Returns​

WebhookTargetUpdateResponse

Example​

Request
mutation UpdateWebhookTarget($input: WebhookTargetUpdateRequestInput) {
updateWebhookTarget(input: $input) {
target {
contentMode
enabled
eventExtensions
id
maxRetry
name
}
}
}