Skip to main content

DELETE /api/storage/file

Permanently removes a file from storage. You must provide the path value that was returned when the file was uploaded. This operation cannot be undone.

Required Headers

Request Body

string
required
The storage path of the file to delete, in the format PROJECT_ID/filename.ext. This is the path field returned by the upload endpoint — not the public URL.

Response Fields

boolean
true when the file was deleted successfully.
string
Human-readable confirmation message.

Code Examples

Success Response

Errors