---
title: "Delete file"
method: DELETE
path: "/files/{id}"
tags: ["files"]
---

# Delete file

`DELETE /files/{id}`

Permanently delete a file from storage. This removes both the file content and its associated metadata.

## Path parameters

- `id` string, required

## Response `204`

File successfully deleted

## Other responses

- `default` — Error occurred during file deletion

---

[API](https://skmtc.dev/nhost/apis/nhost-storage-api.md) · [All operations](https://skmtc.dev/nhost/apis/nhost-storage-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/nhost/nhost-storage-api/revisions/97295913b74e/schema)
