Update Webhook

PATCH /webhooks/:webhookId

You can update the following fields: url, eventTypes, description, enabled. Fields you leave out stay as they are, and description: null removes the description. The secret stays the same and is not included in the response.

To stop webhook events for a while, set enabled to false:

Copy
{ "enabled": false }

The errors are the same as for Create Webhook, plus 404 with WEBHOOK_NOT_FOUND when the webhook doesn't exist, was deleted, or has the other mode (live or test) than your API key.

‹ Previous
Create Webhook
Next ›
Delete Webhook