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

# Delete a file

`DELETE /files/{file_id}`

Soft-delete a file. It can no longer be referenced from new generations. Returns 204 with no body.

## Path parameters

- `file_id` string, uuid, required

## Response `204`

File deleted

## Other responses

- `401` — Missing or invalid API key
- `404` — File not found or belongs to another client

---

[API](https://skmtc.net/lumalabs/apis/luma-agents-api.md) · [All operations](https://skmtc.net/lumalabs/apis/luma-agents-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/lumalabs/luma-agents-api/versions/2135bbde249c/schema)
