API reference · Schema
SandboxDeletedFile
objectstringrequiredAlways `sandbox_file`: the type of this object
One of
sandbox_filepathstringrequiredWhat was deleted, relative to the workspace
deletedbooleanrequiredAlways true: it was deleted
One of
true
Example
{
"object": "sandbox_file",
"path": "string",
"deleted": true
}Used by
- Delete a file, or a directory with everything in it, from the workspace
DELETE /v1/sandboxes/{sandbox_id}/files