Documentation Index
Fetch the complete documentation index at: https://e2b-mintlify-changelog-1777288200.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
You can shutdown single or all running sandboxes with the E2B CLI.
Shutdown single or multiple sandboxes
To shutdown a single or multiple sandboxes, run the following command:
e2b sandbox kill <sandbox-id1> <sandbox-id2> <sandbox-id3>
Shutdown all sandboxes
To shutdown all running sandboxes, run the following command:
Further, you can filter the sandboxes to be shutdown by state, metadata or both.
e2b sandbox kill --all --state=running,paused
e2b sandbox kill --all --metadata=key=value
e2b sandbox kill --all --state=running,paused --metadata=key=value