update

public final Response<Webhook> update(String webhookId, UpdateWebhookRequest requestBody, RequestOverrides overrides)
public final Response<Webhook> update(String webhookId, UpdateWebhookRequest requestBody)

Update a webhook destination

Return

The updated webhook destination

Parameters

webhookId

The id of the webhook destination to update.

requestBody

The values to update the webhook destination with

overrides

Optional request overrides to apply