Desk

Delete a file or directory of a hosted project

Changed on
delete/api/v0/desk/projects/{project_id}/file

Request

Path parameters

project_idstring uuid required

Query parameters

pathstring required

Path relative to the project root.

expected_sha256string nullable

The file's hash as the caller read it: the delete is refused (409, with the current hash) when the file changed since.

Response

Successful Response

pathstring required
revisioninteger required
sha256string nullable

Changes