nodes:stage:lease:release

Give up your stage lease without committing anything. Releasing a lease that expired or does not exist succeeds (`released: true`); another session's live lease is refused with 409.

Reference for flywheel nodes:stage:lease:release.

Command Group

Nodes & Graph Commands

Summary

Give up your stage lease without committing anything. Releasing a lease that expired or does not exist succeeds (released: true); another session's live lease is refused with 409.

Effect

changes data

Usage

flywheel nodes:stage:lease:release <FLAGS>

Required flags

FlagValueDefaultChoicesDescription
--node_idstringNode UUID (not a slug) from node_id in hosted:node:list or graph:get. Missing or hidden: 404 where the command loads it.
--stage_session_idstringYour own ID for this edit session: any string you choose, sent unchanged on acquire, heartbeat, release and the commit. It owns the lease; another session's live lease is refused with 409 node has active stage lease.

Optional flags

FlagValueDefaultChoicesDescription
--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

Release.

flywheel nodes:stage:lease:release --node_id n_abc --stage_session_id s1

Output

Default format: json.

FieldType
releasedboolean