compute:release-all

Queue teardown of every active lease in your --lease_control_token scope and return at once by default; each machine and its storage are then destroyed in the background, nothing snapshotted. --force --yes widens it to all of your active leases. Returns `request_state` `accepted`, `target_count` and `target_lease_ids`, or, when nothing matched, `request_state` `completed`, `outcome` `no_active_lease` and `target_count` 0. Check progress with compute:status. With a token, --wait adds status polling and returns `wait_result`; it does not make the server teardown synchronous.

Reference for flywheel compute:release-all.

Command Group

Compute & Executions Commands

Summary

Queue teardown of every active lease in your --lease_control_token scope and return at once by default; each machine and its storage are then destroyed in the background, nothing snapshotted. --force --yes widens it to all of your active leases. Returns request_state accepted, target_count and target_lease_ids, or, when nothing matched, request_state completed, outcome no_active_lease and target_count 0. Check progress with compute:status. With a token, --wait adds status polling and returns wait_result; it does not make the server teardown synchronous.

Effect

DESTRUCTIVE: deletes, overwrites or revokes something

Usage

flywheel compute:release-all <FLAGS>

Required flags

FlagValueDefaultChoicesDescription
--lease_control_tokenstringFrom compute.lease_control_token in compute:acquire; scopes the leases you control (not an SSH credential). No matching lease: empty status, no_active_lease from release-all, 403 on connect or single release.

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 all (default token scope).

flywheel compute:release-all --lease_control_token tok

Force release all releasable leases with explicit token scope.

flywheel compute:release-all --lease_control_token tok --force --yes

Output

Default format: json.

FieldType
updated_atstring
request_statestring
outcome (optional)string | null
target_countinteger
target_lease_idsarray<string>
reasonstring
wait_result (optional)object