Update a webhook (free)
update_webhookChange a registered webhook's URL, event list, or signing secret to redirect where completion events and results are delivered and control which events are sent.
Instructions
Change the URL, events or signing secret of a registered webhook. Free: this call never spends credits. A new URL changes where completion events, and the results they carry, are delivered; a new event list changes which events are sent.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Webhook id, from list_webhooks. | |
| url | No | New URL for the events, http or https. The API refuses a host that resolves to a private or internal address. | |
| events | No | New list of events, at least one. | |
| secret | No | New shared secret for HMAC signature verification. | |
| timeout_ms | No | Request timeout in milliseconds. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cost | No | ||
| action | No | ||
| webhooks | No | ||
| test_mode | No | ||
| test_mode_notice | No | ||
| vocabulary_warnings | No | ||
| deprecated_params_ignored | No |