Remove File
Filesystem API
Remove File
Remove a file or directory from a sandbox.
DELETE
Remove File
Removes the file or directory (recursively) at the given path inside the sandbox.
Returns an empty
{} body regardless of whether the path existed — the operation
is idempotent.
Path Parameters
The sandbox identifier. Format:
sbx-<8 chars>.Query Parameters
Absolute path of the file or directory to remove inside the sandbox.Example:
/home/user/old-results/Response
Returns an empty JSON object{}.
Example
Response
Error Responses
| Status | Cause |
|---|---|
401 | Missing or invalid API key |
404 | Sandbox not found |
503 | Sandbox has no VM |