webhooks update
Changes a webhook. Whatever you don't pass stays as it is. A webhook that keeps failing is switched off automatically, and --enable turns it back on once the endpoint is fixed.
bash
octri webhooks update <id> [--url <url>] [--events <events>] [--label <label>] [--enable | --disable]Arguments
<id>stringrequiredThe webhook, from octri webhooks list.
Flags
--url <url>stringA new address.
--events <events>listReplaces the events, or all.
--label <label>stringA new label.
--enablebooleanSwitches it on.
--disablebooleanSwitches it off.
Examples
Turn a webhook back on
bash
octri webhooks update 6aedf8881af7e1c4199c04f1 --enableOutput
✔ Updating webhook
✔ Webhook Acme updated.Related
octri webhooks deliveries: A webhook's delivery history: event, status, HTTP code and error.octri webhooks list: List the project's webhooks, with type, address and state.