Hanzo
OpenapiSandbox

End a sandbox

Stops the sandbox's pod and drops the lease.

DELETE /v1/sandbox/{id}

Addresshttps://api.hanzo.ai/v1/sandbox/{id}
MethodDELETE
Operationdelete_sandbox_by_id
AuthAuthorization: Bearer $HANZO_API_KEY

Stops the sandbox's pod and drops the lease. The VOLUME survives by default, so a dev or desktop sandbox can be leased again over the same project and find its checkout where it left it.

purge=1 deletes the volume too. It is opt-in because it is the one part of this that cannot be undone.

Request

1 field.

FieldInTypeRequiredDescription
idpathstringyes

Response

The document declares no response body for this operation. It answers 200 on success and the platform error shape on failure — see Errors.

Examples

hanzo sandboxes rm <id>

Sandbox API · All Hanzo APIs · Interactive reference

How is this guide?

On this page