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/v2

Arguments

ArgumentRequiredDescription
idyesWebhook id (wh_...).

Flags

FlagTypeRequiredDescription
--request-urlstringnoReplace the delivery URL.
--namestringnoReplace the name (or clear with empty string).
--enabledbooleannoEnable or disable the webhook.
--eventsstringnoReplace subscribed events (comma-separated).
--datastringnoReplace field-remapping keys (comma-separated).
--account-idsstringnoReplace 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.