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/workspaces/{workspace}/files/{file_path}
Path parameters
file_pathstring required
workspacestring required
Slug of the workspace the request acts in
Slug of the workspace the request acts in
Response
Successful Response
Changes
Changed in 1 of the 45 revisions of this API.1
- ○
endpoint added
endpoint-added
- ○