updateWebhookTarget
Mutation
Used to update the details of a specific webhook.
updateWebhookTarget(input: WebhookTargetUpdateRequestInput): WebhookTargetUpdateResponse
Arguments
| Argument | Type | Default | Description |
|---|---|---|---|
input | WebhookTargetUpdateRequestInput | Provide the webhook details you want to update here, such as name and maxRetry value. |
Returns
Example
Request
mutation UpdateWebhookTarget($input: WebhookTargetUpdateRequestInput) {
updateWebhookTarget(input: $input) {
target {
contentMode
enabled
eventExtensions
id
maxRetry
name
}
}
}