curl -X DELETE https://api.podflare.ai/v1/sandboxes/$SID
sbx.close()
# or, automatically on context-manager exit:
with Sandbox() as sbx:
... # destroyed on exit
await sbx.close();
Reference
Destroy a sandbox
Destroy the sandbox and free its resources.
DELETE
/
v1
/
sandboxes
/
{id}
curl -X DELETE https://api.podflare.ai/v1/sandboxes/$SID
sbx.close()
# or, automatically on context-manager exit:
with Sandbox() as sbx:
... # destroyed on exit
await sbx.close();
string
required
Sandbox id.
curl -X DELETE https://api.podflare.ai/v1/sandboxes/$SID
sbx.close()
# or, automatically on context-manager exit:
with Sandbox() as sbx:
... # destroyed on exit
await sbx.close();

