Update webhook
tribeunal_update_webhookChange which events a webhook receives or pause/resume its delivery without altering the endpoint URL or secret.
Instructions
Change which events a webhook endpoint receives, or pause/resume delivery, without touching its URL or secret. Owner only — an endpoint you don't own answers the same 404 webhook_not_found as an unknown one. Pass events and/or active; at least one is required, any other key (including url) 400s field_not_editable. URL and secret cannot be changed here or read back — delete with tribeunal_delete_webhook and re-create with tribeunal_create_webhook instead. Returns {uuid, url, events, active, lastDeliveredAt, lastStatusCode, failureCount, createdAt} — never the secret.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| active | No | false pauses delivery without deleting the endpoint; true resumes it. Independent of events — pass either, both, or (refused) neither. | |
| events | No | Replaces the endpoint's entire subscribed-event list (not merged) — pass every event you still want, from the same catalog as tribeunal_create_webhook. Omit to leave the current subscription untouched. | |
| webhookId | Yes | Endpoint UUID, from tribeunal_list_webhooks or the tribeunal_create_webhook response. An endpoint you don't own, or an unknown uuid, both answer 404 webhook_not_found. |