Update Webhook
Updates the requested webhook.
Headers
Authorization
Bearer authentication of the form Bearer <token>, where token is your auth token.
Request
This endpoint expects an object.
id
ID for the webhook.
action
The action to update the webhook's status.
Allowed values:
event_types
secret
If provided, updates the secret that’s used when verifying webhook events, which must be between 8 and 32 bytes (inclusive). Otherwise if empty, then a new secret is generated. If the webhook is active, then its status will transition to the ‘unverified’ state and it won’t receive any object events until successfully verified.
url
The webhook's updated URL. If the webhook is active, then the
webhook's status will transition to the 'unverified' state and it
won't receive any object events until successfully verified.
Response
The response to updating the webhook.
webhook