---
title: "Pause sandbox"
method: POST
path: "/sandboxes/{sandboxID}/pause"
tags: ["sandboxes"]
---

# Pause sandbox

`POST /sandboxes/{sandboxID}/pause`

Pause the sandbox

## Path parameters

- `sandboxID` string, required

## Request body

- SandboxPauseRequest
  - `memory` boolean — Whether to capture a full memory snapshot. When false, only the filesystem is persisted and resuming the sandbox cold-boots (reboots) it from disk, losing in-memory state, running processes, and open connections. Resume it with an explicit request (connect or resume); auto-resume, which can be triggered by arbitrary traffic, refuses such a sandbox. Defaults to true.

## Response `204`

The sandbox was paused successfully and can be resumed

## Other responses

- `401` — Authentication error
- `404` — Not found
- `409` — Conflict
- `500` — Server error

---

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