Skip to main content
Remove the file from the project. Returns 204, or 404 if the project or file is unavailable to you.

Signature

Method signature on client.files:

Parameters

string
required
Project ID with prefix pp..
string
required
ID of the project file, with prefix ppf..

Returns

Promise<void> Resolves without a return value.

Errors

HTTP errors throw PotatoApiError. The endpoint documents these error responses: HTTP endpoint: DELETE /projects/{projectId}/files/{fileId}.