Skip to main content
PATCH
Set Timeout
Updates the timeout field stored on the sandbox. Pass 0 to disable auto-kill. This endpoint updates the persisted value only — it does not restart any existing in-flight countdown timer that was set at creation time. Use this endpoint to extend a sandbox’s lifetime before it expires, or to reduce the timeout if you want to reclaim resources sooner.

Path Parameters

string
required
The sandbox identifier. Format: sbx-<8 chars>.

Request Body

integer
required
New timeout value in seconds. Pass 0 to disable auto-kill.Example: 600

Response

boolean
Always true when the update succeeds.

Example

Response

Error Responses