---
title: "Delete File"
method: DELETE
path: "/api/v1/beta/files/{file_id}"
tags: ["Beta", "Files"]
---

# Delete File

`DELETE /api/v1/beta/files/{file_id}`

Delete a file from the project.

## Path parameters

- `file_id` string, uuid, required

## Query parameters

- `project_id` string, uuid, nullable
- `organization_id` string, uuid, nullable

## Cookies

- `session` string, nullable

## Response `204`

Successful Response

## Other responses

- `422` — Validation Error

## Changes

- **2026-06-09** `b17341164de9` — 2 info
  - added the optional property `detail/items/ctx` to the response with the `422` status
  - added the optional property `detail/items/input` to the response with the `422` status
- **2026-04-24** `1bbc901f8c0d` — 1 info
  - api tag `Files` added

[Change history](https://skmtc.dev/run-llama/apis/llama-platform/changes/api/v1/beta/files/:file_id/delete.md)

---

[API](https://skmtc.dev/run-llama/apis/llama-platform.md) · [All operations](https://skmtc.dev/run-llama/apis/llama-platform/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/run-llama/llama-platform/revisions/b17341164de9/schema)
