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 named running sandbox by snapshotting it and terminating the live container.
  • This path accepts either the sandbox ID or the sandbox name.
  • Only named sandboxes can be suspended. Ephemeral sandboxes return 400 Bad Request.
  • Tensorlake returns 202 Accepted when suspension starts or is already in progress.
  • Tensorlake returns 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 sandbox ID or sandbox name.

Response

Sandbox was already suspended