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). |
Also accepts these global flags: --api-key, --profile, --account, --base-url, --timeout, --json, --fields, --preview, --verbose, --beta.
Exit codes: the exit code table. More commands: Webhook.