# Pause a sandbox

Collection: api
Human docs: https://zei.sh/docs/api

Pause a sandbox while preserving its state.

POST /public/sandboxes/:sandboxId/pause
Permission: MACHINE_UPDATE.
Pause is useful when you want to preserve state without keeping the runtime active.
Response: The lifecycle result.

Example:

```
curl -X POST https://api.zei.sh/api/v1/public/sandboxes/:sandboxId/pause \
  -H "X-API-Key: $ZEISH_API_KEY"
```
