Hanzo
OpenapiSandbox

End a sandbox and release it

Ends the caller's sandbox lease: the pod goes, and the volume goes only when the caller asked for that too.

POST /v1/sandbox/end

Addresshttps://api.hanzo.ai/v1/sandbox/end
MethodPOST
Operationend_sandbox
AuthAuthorization: Bearer $HANZO_API_KEY

Ends the caller's sandbox lease: the pod goes, and the volume goes only when the caller asked for that too.

Request

2 fields, body application/json (required).

FieldInTypeRequiredDescription
idbodystringID is the sandbox whose lease ends, from an earlier lease.
purgebodybooleanPurge deletes the project's DISK as well. It is opt-in because the disk holds the only copy of the checkout: ending a lease is cheap and reversible, deleting…

Response

StatusBodyMeaning
204no content

Failure carries the platform error shape — see Errors.

Examples

hanzo sandboxes end

Sandbox API · All Hanzo APIs · Interactive reference

How is this guide?

On this page