Update webhook
update_webhookDestructiveIdempotent
Change a PinBridge webhook's URL, secret, events or enabled flag.
Calls PATCH /v1/webhooks/{webhook_id} on the PinBridge API; the fields,
event names and signed delivery format are documented at
https://www.pinbridge.io/docs/api/webhooks/.
Use to pause deliveries (is_enabled=false) or rotate the secret without
losing the registration; to stop for good use delete_webhook. Only the
fields you pass change. Pass at least one.
Returns the updated webhook (id, url, events, is_enabled). Fails with
not_found for an unknown id and validation_error for a short secret.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | No | New endpoint URL. | |
| events | No | Replacement event list, e.g. ["pin.published", "pin.failed"]. | |
| secret | No | New signing secret, at least 16 characters. | |
| is_enabled | No | false pauses deliveries, true resumes them. | |
| webhook_id | Yes | UUID of the webhook, from list_webhooks. |