v1
protected
files
Delete Workspace File
Changed onArchive 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}
Request
- The document declares no server URL.
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
file_pathstring required
workspacestring required
Slug of the workspace the request acts in
Response
Successful Response
Changes
- info
endpoint added
- info