Skip to content

armgit / E2B

Public Imported from GitHub
0

Open-source, secure environment with real-world tools for enterprise-grade agents.

Update CLI docs

Tomas Valentad2e9b3ba8a70
diff --git a/apps/web/src/app/(docs)/docs/cli/commands/page.mdx b/apps/web/src/app/(docs)/docs/cli/commands/page.mdx
index 6397c7fcd..53809a229 100644
--- a/apps/web/src/app/(docs)/docs/cli/commands/page.mdx
+++ b/apps/web/src/app/(docs)/docs/cli/commands/page.mdx
@@ -311,8 +311,23 @@ Running `e2b sandbox spawn` without specifying a template with the `[template]`
## `sandbox kill`
-Immediately kill a running sandbox.
+Immediately kill a running sandbox or all running sandboxes.
```bash
-e2b sandbox kill <sandboxID>
+e2b sandbox kill [sandboxID]
```
+#### **Arguments**
+
+<Options>
+ <Option type="[sandboxID]">
+ Specify the ID of the sandbox you want to kill.
+ </Option>
+</Options>
+
+#### **Options**
+
+<Options>
+ <Option type="-a, --all">
+ Kill all running sandboxes.
+ </Option>
+</Options>