---
title: "Prune sandboxes"
method: DELETE
path: "/sandboxes"
tags: ["sandboxes"]
---

# Prune sandboxes

`DELETE /sandboxes`

Destroy all expired sandboxes and return the count

## Response `200`

OK

- InternalApiRoutesPruneResponse
  - `pruned` integer

## Other responses

- `500` — Internal Server Error

---

[API](https://skmtc.dev/stacyos/apis/stacyvm-api.md) · [All operations](https://skmtc.dev/stacyos/apis/stacyvm-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/stacyos/stacyvm-api/revisions/d8b1ebf10293/schema)
