Octri

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>stringrequired

The webhook, from octri webhooks list.

Flags

--url <url>string

A new address.

--events <events>list

Replaces the events, or all.

--label <label>string

A new label.

--enableboolean

Switches it on.

--disableboolean

Switches it off.

Examples

Turn a webhook back on

bash
octri webhooks update 6aedf8881af7e1c4199c04f1 --enable
Output
✔ Updating webhook
✔ Webhook Acme updated.