campaign-budgets:update

Change a campaign budget's caps, name or description. Omitted fields stay as they are and at least one must be given. A revoked budget cannot be updated. Raising a cap needs the extra credit headroom, as creating one does. Returns `budget`.

Reference for flywheel campaign-budgets:update.

Command Group

Approvals & Budgets Commands

Summary

Change a campaign budget's caps, name or description. Omitted fields stay as they are and at least one must be given. A revoked budget cannot be updated. Raising a cap needs the extra credit headroom, as creating one does. Returns budget.

Effect

DESTRUCTIVE: deletes, overwrites or revokes something

Usage

flywheel campaign-budgets:update <FLAGS>

Required flags

FlagValueDefaultChoicesDescription
--root_node_idstringUUID of a root node (no parents) from roots in graph:get. Tag commands refuse a non-root (400); budget commands use a descendant's root.
--compute_budget_idstringCampaign budget ID: compute_budget_id from campaign-budgets:create or a row of campaign-budgets:list. Not found, not a campaign budget or from another root: error.

Optional flags

FlagValueDefaultChoicesDescription
--hard_cap_centsintegerNew cap for the whole budget, in cents; above 0. Raising it needs the extra credit headroom. Omitted: unchanged.
--per_user_hard_cap_centsintegerNew per-participant cap, in cents; above 0 and at most the overall cap. Omitted: unchanged.
--namestringNew label (surrounding whitespace dropped). Omitted: unchanged.
--descriptionstringNew note (surrounding whitespace dropped). Omitted: unchanged.
--formatFORMATjson, tsv, csv, tableOutput format for command results.
--envPROFILESelect a CLI profile; unconfigured default requires FLYWHEEL_BASE_URL.
--outPATHWrite output to a file path, or use - for stdout.
--openOpen browser-bound URLs when supported.
--no-retryDisable transient-error retries.
--retry-maxNMaximum transient-error retry attempts.
--waitBlock on async operations until a terminal state is reached.
--wait-timeoutSECONDS600Seconds to wait for --wait before timing out. Defaults to 600.
--allow-selfAllow mutating the currently active credential.
--timeoutSECONDSSet the per-request timeout budget in seconds.
--idempotency-keyKEYReuse an Idempotency-Key so ambiguous write failures can be retried with the same key.
--forceForce safety-gated operations where supported.
--yesConfirm forced compute:release-all --force. Other runtime commands do not read --yes.
--debugPrint structured request debugging with secrets masked.
--verbosePrint verbose progress for long-running operations.
-h, --helpShow this help.

Examples

Bump hard cap.

flywheel campaign-budgets:update --root_node_id r --compute_budget_id b --hard_cap_cents 20000

Output

Default format: json.

FieldType
budgetobject