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

# Delete file

`DELETE /v1/files/{file_id}`

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.net/neosantara/apis/neosantara-ai-api.md) · [All operations](https://skmtc.net/neosantara/apis/neosantara-ai-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/neosantara/neosantara-ai-api/versions/82bc74ee8650/schema)
