Pause the sandbox
cURL
curl --request POST \ --url https://api.e2b.app/sandboxes/{sandboxID}/pause \ --header 'X-API-Key: <api-key>'
{ "code": 123, "message": "<string>" }
The sandbox was paused successfully and can be resumed
Was this page helpful?