# kosa8 cloud sandbox drain

Delete every sandbox of a run (or with a label, or named); their disks are wiped

## Usage

```
kosa8 cloud sandbox drain [ID...] [--run RUN | --label key=value]
```

Deletes every matching sandbox of the organization, a thousand a call, calling
again until none are left. The way to clean up after a training run or an eval.

## Flags

| Flag | Type | What it does | Default |
|---|---|---|---|
| `--label, -l` | stringArray | the sandboxes with this label, key=value (repeatable; all must match) | `[]` |
| `--run` | string | the sandboxes labelled kosa8.run=RUN |  |

## Example

```
  kosa8 cloud sandbox drain --run rl-grpo-7
  kosa8 cloud sandbox drain --label eval=swe-bench
  kosa8 cloud sandbox drain sbx_a sbx_b
```

---
Source: https://docs.kosa8.com/reference/cloud-sandbox-drain/
