FleetDeckDocs

CLI command

fleetdeck release

Close a session and cancel its queued work.

Usage

bash
fleetdeck release SESSION
Example
fleetdeck release session_123

Arguments

ArgumentRequiredDescription
SESSIONrequiredSession ID to close. Use in cleanup even if the session is already closed.

Supply FLEETDECK_API_KEY through the environment. See environment configuration.

Behavior

  • Safe to call from cleanup even if the session is already closed.
  • A running action may finish under its existing lease, so release does not undo physical input.

Output and exit

Writes formatted JSON to stdout. Errors are one JSON object on stderr.

Example stdout
{
  "released": true
}

Response fields and API errors: Release a session.

See all exit codes and error recovery.