Skip to main content
POST
/
sandboxes
/
{sandboxID}
/
pause
Pause sandbox
curl --request POST \
  --url https://api.e2b.app/sandboxes/{sandboxID}/pause \
  --header 'X-API-Key: <api-key>'
{
  "code": 401,
  "message": "Authentication error: missing or invalid API key"
}

Authorizations

X-API-Key
string
header
required

Path Parameters

sandboxID
string
required

Response

The sandbox was paused successfully and can be resumed