Permanently delete a sandbox and free its resources using the HopX Control Plane API. Remove sandboxes when no longer needed to free up resources and manage costs. Learn how to use DELETE /v1/sandboxes/:id endpoint to permanently delete sandboxes and clean up resources. Includes request examples and cleanup best practices.
Delete a sandbox to permanently destroy it and free all allocated resources. This action cannot be undone.
{ "error": "Sandbox not found", "code": "RESOURCE_NOT_FOUND", "request_id": "req_abc123"}
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.
Deleting a sandbox is permanent and irreversible. All data, files, and state in the sandbox will be lost. Make sure to save any important data before deleting.
Immediate deletion - The sandbox is destroyed immediately upon successful deletion
Resource cleanup - All allocated resources (vCPU, memory, disk) are freed
VM Agent API - The sandbox’s VM Agent API endpoint becomes unavailable immediately
No recovery - Deleted sandboxes cannot be recovered