v1
protected
files

Delete Workspace File

Archive a workspace file instead of destroying it.

The object moves under .trash/{timestamp}/ and disappears from the listing, so a mistaken delete is always recoverable through :func:restore_workspace_file. Task-owned and staging paths are not deletable here: they belong to a task's committed manifest, not to the workspace library.

delete/v1/files/{file_path}

Path parameters

file_pathstring required

Response

Successful Response

archived_pathstring required
pathstring required

Changes

Changed in 1 of the 23 revisions of this API.1