Skip to main content
PATCH
Changes the idle timeout of a running sandbox. The new idleExpiresAt is calculated from the sandbox’s lastActivityAt, not from the time of the request. Values above your account’s maximum are clamped to it, and values under 90 seconds are raised to 90. Read the response for the value applied. To change the maximum lifetime, use Extend a sandbox’s lifetime.
Review question: Is idleTimeoutSeconds the only field PATCH accepts, or can it also change other settings? Remove this box before merging.

Path parameters

string
required
The sandbox ID.

Body

integer
New idle timeout in seconds.

Response

Returns the updated sandbox. See Get a sandbox for all fields.

Errors

Last modified on October 19, 2026