Kill a sandbox
curl --request DELETE \
--url https://api.e2b.app/sandboxes/{sandboxID} \
--header 'X-API-Key: <api-key>'{
"code": 401,
"message": "Authentication error: missing or invalid API key"
}Was this page helpful?
curl --request DELETE \
--url https://api.e2b.app/sandboxes/{sandboxID} \
--header 'X-API-Key: <api-key>'{
"code": 401,
"message": "Authentication error: missing or invalid API key"
}