Skip to content
Docs
GitHub

Delete file or directory

Preview

Manage execution sessions and rooms, and their files, tasks, storage, databases and managed sandboxes.

Public APIEverruns Cloud and self-hosted Platform

DELETE/v1/workspaces/{workspace_id}/fs/{path}

See authentication for credentials and permissions.

workspace_id
required
string

Workspace ID (wsp_<32-hex>)

path
required
string

File or directory path

recursive
boolean

Delete recursively

Responses

200Deleted

Deleted

Media typeapplication/json

Response for delete operation

object
deleted
required
boolean

Example generated

{
"deleted": true
}
400Invalid request

Invalid request

403Cannot delete readonly content

Cannot delete readonly content

500Internal server error

Internal server error