Skip to main content
PATCH
UpdateWebhook

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json

The request for a call to WebhookService_UpdateWebhook to update a webhook.

The request for a call to WebhookService_UpdateWebhook to update a webhook.

webhook
object
required
updateMask
string
required

The list of fields to be updated. The fields available to be updated are 'target_url', 'name', 'event_type', 'payload', 'http_headers', 'archived_date', 'is_archived'.

Response

A successful response.

The response of a call to WebhookService_UpdateWebhook. To archive a webhook, specify archived_date in the update mask as well as a non-null value for archived_date in the webhook object. To unarchive a webhook, specify archived_date in the update mask and a null value for archived_date in the webhook object.

webhook
object
required