Skip to main content
POST
Pause a running sandbox

Authorizations

X-API-Key
string
header
required

Headers

Prefer
enum<string>

Accept 202 with {"status":"pausing"} over a held connection.

Available options:
respond-async

Path Parameters

sandbox_id
string
required

The unique identifier of the sandbox. Public sandbox ID: a bare UUID, or the region-tagged form sb-<region>-<uuid> (e.g. sb-use-1b4e28ba-…). Treat as an opaque string; the tagged form routes the request to the sandbox's home region. Endpoints accept both forms interchangeably.

Pattern: ^(sb-[a-z0-9]+-)?[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$

Response

Pause recorded and in progress; poll the sandbox until it is paused. Immediate with Prefer: respond-async, otherwise returned when the pause is still in progress after the request's wait.

status
enum<string>
required
Available options:
pausing