Delete file or directory
PreviewManage execution sessions and rooms, and their files, tasks, storage, databases and managed sandboxes.
DELETE
/v1/workspaces/{workspace_id}/fs/{path}See authentication for credentials and permissions.
Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”workspace_id
required
string
Workspace ID (wsp_<32-hex>)
path
required
string
File or directory path
Query Parameters
Section titled “Query Parameters”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