Skip to content

Kill the workspace sandbox; the next touch builds a fresh one

POST
/api/workspaces/{workspaceId}/apps-v2/{id}/sandbox/recycle

Committed work is safe by design (it lives in the repo); uncommitted working-copy changes and running processes die with the machine — the same contract as losing a laptop.

workspaceId
required
string
id
required
string

Successful response

object
success

Whether the request succeeded.

boolean
data

Endpoint-specific response payload.

message
string
Example
Operation completed
error
string
Example
Error message

Invalid request

object
success
boolean
error
string
Example
Error message

Internal server error

object
success
boolean
error
string
Example
Error message