Skip to content

Commit

Permalink
Update CLI docs
Browse files Browse the repository at this point in the history
  • Loading branch information
ValentaTomas committed Oct 12, 2024
1 parent 125cda6 commit d2e9b3b
Showing 1 changed file with 17 additions and 2 deletions.
19 changes: 17 additions & 2 deletions apps/web/src/app/(docs)/docs/cli/commands/page.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -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>

0 comments on commit d2e9b3b

Please sign in to comment.