Skip to main content
POST
Set Sandbox idle policy

Authorizations

Authorization
string
header
required

A Deepest Account-scoped Agent API Key issued by the signed-in owner. Never put the key in a URL or Guest environment.

Path Parameters

sandbox_id
string
required
Minimum string length: 1

Body

application/json

Set idle_timeout_seconds, or omit the field to disable idle auto-stop. This never changes hard TTL.

idle_timeout_seconds
integer<uint32>
Required range: 60 <= x <= 86400

Response

Current Sandbox policy.

ok
enum<boolean>
required
Available options:
true
resource_id
string
required
retry
enum<string>
required
Available options:
safe
result
object
required

Short-lived Headless Machine sharing the Account resource pool with Computers.