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

# Delete file

`DELETE /v1/files/{file_id}`

## Request

- Base URL: `https://api.neosantara.xyz`
- URL: `https://api.neosantara.xyz/v1/files/{file_id}`
- Auth: HTTP bearer

Deletes the specified file.

## Path parameters

- `file_id` string, required

## Response `200`

File deleted

- object
  - `id` string, required
  - `object` 'file', required
  - `deleted` boolean, required

## Other responses

- `404`: File not found

---

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