workspaces.refresh
Rebuild the hosted sandbox on the current platform image: backup, destroy, revoke its token; the next use recreates it fresh.
- method + path:
POST /v1/workspaces/{ws}/refresh - TR label: Sandbox yenilendi
- auth: authenticated · scope gates: any of
admin— “Erişim anahtarlarını yalnızca mağaza sahibi yönetebilir” - agentPolicy:
owner— owner sessions only — never callable by any token and never an MCP tool. - effects:
provider,r2,db - idempotency: server — the platform derives the key
- wraps: — (no command inside)
Machine-readable body schema: /schemas/routes/workspaces.refresh.json.
Body
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "object",
"properties": {}
}Generated from the live platform registries at build time — reference pages cannot go stale. Markdown variant: /reference/routes/workspaces.refresh.md