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

# Delete File

`DELETE /v1/files/{file_id}`

Soft-delete a file's metadata and remove its bytes from the backend.

## Path parameters

- `file_id` string, required

## Query parameters

- `user` string, nullable

## Response `200`

Successful Response

- object

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.net/mozilla-ai/apis/otari.md) · [All operations](https://skmtc.net/mozilla-ai/apis/otari/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/mozilla-ai/otari/versions/9efeac9dd037/schema)
