Kill a sandbox to forcefully terminate it immediately. This is similar to delete but may be used when a sandbox is unresponsive. The sandbox is destroyed and cannot be recovered.
Endpoint
Request
Path Parameters
Example Request
Response
Success (200 OK)
Response Fields
Status Codes
Errors
Sandbox Not Found (404)
Cause: The sandbox ID doesn’t exist or belongs to another organization.
Fix: Verify the sandbox ID is correct. List your sandboxes using GET /v1/sandboxes to find valid IDs.
Important Notes
Killing a sandbox is permanent and irreversible. All data, files, and state in the sandbox will be lost. This action forcefully terminates the sandbox even if it’s unresponsive.
- Immediate termination - The sandbox is forcefully terminated immediately
- No graceful shutdown - Running processes are killed without cleanup
- Resource cleanup - All allocated resources are freed
- VM Agent API - The sandbox’s VM Agent API endpoint becomes unavailable immediately
- No recovery - Killed sandboxes cannot be recovered
Use Cases
Kill Unresponsive Sandbox
Force Cleanup
Difference from Delete
- Kill - Forcefully terminates the sandbox immediately, even if unresponsive
- Delete - Gracefully deletes the sandbox (may fail if sandbox is stuck)
Use kill when a sandbox is unresponsive and delete doesn’t work.
Next Steps