Skip to main content
DELETE
Kill Sandbox
Sets the sandbox state to killed and instructs the orchestrator to terminate the VM. This action is irreversible — all in-memory state and filesystem contents are lost. Returns { "killed": true } on success.
Killing a sandbox destroys all data inside the VM. If you need to preserve the state, create a snapshot first.

Path Parameters

string
required
The sandbox identifier. Format: sbx-<8 chars>.Example: sbx-a1b2c3d4

Response

boolean
Always true when the sandbox was found and the kill was dispatched.

Example

Response
The SDK kill() method wraps this endpoint. Always call it in a try/finally block to avoid leaving orphaned sandboxes running.

Error Responses