Skip to main content
POST
/
api
/
sandboxes
/
{id}
/
timeout
Set Timeout
curl --request POST \
  --url https://app.opencomputer.dev/api/sandboxes/{id}/timeout \
  --header 'Content-Type: application/json' \
  --header 'X-API-Key: <api-key>' \
  --data '{
  "timeout": 123
}'
{}
Update the idle timeout for a sandbox.
id
string
required
Sandbox ID
timeout
integer
required
New timeout in seconds (must be > 0)
{}