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

# Delete a file

`DELETE /v1/projects/{project_id}/files/{file_id}`

## Request

- Base URL: `https://api.naturali.ai`
- URL: `https://api.naturali.ai/v1/projects/{project_id}/files/{file_id}`
- Auth: one of:
  - HTTP bearer
  - OAuth 2 (authorization code, authorization URL `https://api.naturali.ai/authorize`, token URL `https://api.naturali.ai/token`, scopes: `mcp:access`)

Removes a file from the system by ID

## Path parameters

- `file_id` string, required

## Response `204`

File deleted successfully

## Other responses

- `404`: File not found
- `500`: Internal server error

---

[API](https://skmtc.dev/naturali/apis/naturali-ai-api.md) · [All operations](https://skmtc.dev/naturali/apis/naturali-ai-api/llms.txt) · [OpenAPI document](https://skmtc.dev/naturali/apis/naturali-ai-api/revisions/e4905b78f422?raw)
