Skip to content

Latest commit

 

History

History
45 lines (34 loc) · 917 Bytes

File metadata and controls

45 lines (34 loc) · 917 Bytes
title Shutdown running sandboxes

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:

```bash Terminal e2b sandbox kill ```

Shutdown all sandboxes

To shutdown all running sandboxes, run the following command:

```bash Terminal e2b sandbox kill --all ```

Further, you can filter the sandboxes to be shutdown by state, metadata or both.

```bash Terminal e2b sandbox kill --all --state=running,paused ``` ```bash Terminal e2b sandbox kill --all --metadata=key=value ``` ```bash Terminal e2b sandbox kill --all --state=running,paused --metadata=key=value ```