Skip to main content
POST
/
sandboxes
/
{sandbox_id}
/
suspend
Suspend a sandbox
curl --request POST \
  --url https://api.tensorlake.ai/sandboxes/{sandbox_id}/suspend \
  --header 'Authorization: Bearer <token>'
Suspend a running sandbox by snapshotting it and terminating the live container. Tensorlake returns 202 Accepted when suspension starts and 200 OK when the sandbox is already suspended.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

sandbox_id
string
required

The ID of the sandbox.

Response

Sandbox was already suspended