Desk
Delete a file or directory of a hosted project
Changed ondelete/api/v0/desk/projects/{project_id}/file
Request
- Base URLhttps://api.outerport.com (the document declares no server; this is the origin it was published from)
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
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
Changes
- info
endpoint added
- info