Change a sandbox's name, labels, environment, automatic wake, idle pause, time limit, end action or persistence. Fields left out stay as they are.
idlePauseSeconds set here (10 to 86400) counts from the last activity: a request, a running command or terminal, an open connection, network traffic or CPU use; 0 turns idle pause off. persistent: true keeps the sandbox running until you stop it, while credit lasts, with no idle pause or time limit, its disk billed as any sandbox's; paid sandboxes only. timeoutSeconds sets its time limit from now, sooner or later than before (0 removes it), and onTimeout what its end does: endsAt answers the new end. A change of end action that reaches the server's last paid stretch can end it up to about two minutes after the asked end, never before.
Request
- Base URL: https://api.withruntime.com
- URL: https://api.withruntime.com/v1/sandboxes/{id}:update
- Auth: HTTP bearer
Path parameters
Resource identifier (UUID).
Headers
Replaying the same key with the same request within 24 hours returns the first result and never repeats the effect. A refusal is not kept: a request refused before it ran (no_capacity, busy, a limit) runs afresh when sent again with its key. The SDKs send one automatically; the server makes one when absent and returns it in the idempotency-key response header.
Request body
Example request
{
"tailscale": {
"authKeySecret": "TS_AUTHKEY",
"tags": [
"tag:ci"
]
}
}Response
Success
Changes
No recorded changes to this operation across all 1 revision of this API.