Patch v1sandboxes
Request a wake-or-return, seal-and-stop, TTL, or metadata update. Waking an already-running sandbox succeeds without changing it. The operation is asynchronous and returns 202 with Location and Retry-After; poll or long-poll GetSandbox for observed state.
Authorizations
Hiloop API key sent as an HTTP Bearer token.
Path Parameters
The sandbox id to update.
Body
- Option 1
- Option 2
- Option 3
- Option 4
- Option 5
- Option 6
A sandbox update that includes a lifecycle transition.
New desired lifecycle state. Omit it to leave lifecycle state unchanged.
running, stopped New positive lifetime in seconds from the time of this update. Omit it to leave expiry unchanged; zero is invalid.
x >= 1Replacement metadata: at most 50 entries, keys at most 128 characters, and at most 4096 bytes of total value content.
New idle-stop duration in seconds, from 60 through 86400. Omit it to leave the current value unchanged.
60 <= x <= 86400Response
Accepted
The sandbox id whose update was accepted.
The accepted mutation-request state, distinct from observed sandbox lifecycle state.
requested Present after policy objects select the exact live pod incarnation.