chainabit chain trigger update
Update trigger configuration, conditions, pacing or active state
Synopsis
text
chainabit chain trigger update <chain-id> <trigger-id> --input <json> [options]Arguments
| Argument | Description | Default |
|---|---|---|
<chain-id> | Required. | — |
<trigger-id> | Required. | — |
Options
| Option | Description | Default |
|---|---|---|
--input <json> | Partial trigger JSON; trigger_type is immutable. Required. | — |
--yes | Skip confirmation prompt | — |
Options shared by every command are described in Global options and shared behavior.
Behavior
Patches the selected trigger's configuration, conditions, pacing or active state. The Chain ID and trigger ID are separate positional values. trigger_type is immutable and cannot be changed by a patch.
Validation
--input is a partial JSON object; trigger_type cannot be changed. Use JSON false, not a quoted string, for isActive. Select the trigger belonging to the supplied Chain.
Examples
bash
chainabit chain trigger update 00000000-0000-4000-8000-000000000001 00000000-0000-4000-8000-000000000003 --input '{"isActive":false}'