curviate webhook update
Update a webhook in place (source is immutable).
Usage
curviate webhook update <id> [flags]Examples
curviate webhook update wh_YOUR_WEBHOOK_ID --no-enabled
curviate webhook update wh_YOUR_WEBHOOK_ID --request-url https://example.com/hooks/v2Arguments
| Argument | Required | Description |
|---|---|---|
id | yes | Webhook id (wh_...). |
Flags
| Flag | Type | Required | Description |
|---|---|---|---|
--request-url | string | no | Replace the delivery URL. |
--name | string | no | Replace the name (or clear with empty string). |
--enabled | boolean | no | Enable or disable the webhook. |
--events | string | no | Replace subscribed events (comma-separated). |
--data | string | no | Replace field-remapping keys (comma-separated). |
--account-ids | string | no | Replace targeted accounts (comma-separated). |
--template-file | string | no | The delivery body as a JSON text with {{variables}} (curviate webhook variables --source <source>), from a path or - for stdin. Lint it offline first: curviate webhook lint. |
--custom-events | string | no | With motion.custom_event subscribed: deliver only these custom event names (comma list). Omit for every custom event. |
--header | string | no | A custom header on every delivery, KEY:VALUE; repeatable, replaces the whole set. KEY alone keeps that header's stored value (values are never read back). Not covered by the signature. |
Also accepts these global flags: --api-key, --profile, --account, --team, --base-url, --timeout, --json, --fields, --preview, --verbose, --beta.
Exit codes: the exit code table. More commands: Webhook.