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).
--template-filestringnoThe 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-eventsstringnoWith motion.custom_event subscribed: deliver only these custom event names (comma list). Omit for every custom event.
--headerstringnoA 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.