Options for updating a sandbox (name, retention settings, proxy config).
interface UpdateSandboxOptionsSeconds after entering stopped before deletion. Must be a multiple
of 60. Pass 0 to disable stop-anchored deletion. Omit (or pass
undefined) to leave the existing value unchanged.
Idle timeout in seconds. Must be a multiple of 60. Pass 0 to disable
the idle stop. Omit (or pass undefined) to leave the existing value
unchanged.
New display name.
Replacement proxy configuration, sent to the server as-is (same shape as
createSandbox). Rules replace the existing set rather than merging into
it, so include every rule the sandbox should keep. Opaque header values
carry over from the current config, so rotating one credential does not
mean re-supplying secrets that can no longer be read. The sandbox must be
ready; start a stopped one first.
Merge into the sandbox's stored run configuration: user and work_dir
replace, env_vars merge. Takes effect for subsequent commands; commands
already running are unaffected, and a stopped sandbox picks it up on its
next start. Omitting it leaves the stored value untouched.