Skip to main content
Use the Blaxel CLI with jq to delete multiple sandboxes in one operation. This is useful for workspace cleanup and sandbox lifecycle management at scale.
Sandbox deletion is permanent. Run the inner bl get and jq command first to verify the names before passing them to bl delete.

Delete all sandboxes

Delete every sandbox in the current workspace:

Delete specific sandboxes

Pass multiple sandbox names:

Delete sandboxes by status

Delete sandboxes with the FAILED status:

Delete sandboxes by label

Delete sandboxes whose nextjs label is set to true:
These commands parse the JSON response from bl get, select matching sandbox resources, and pass their names to bl delete.

Delete resources with the CLI

Review deletion syntax and additional bulk deletion examples.

Sandbox expiration policies

Automate sandbox cleanup with TTL policies.
Last modified on October 5, 2026