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

# Delete file

`DELETE /v1/files/{file_id}`

## Path parameters

- `file_id` string, required

## Response `200`

Successful Response

- FileDeleted
  - `id` string, required
  - `deleted` boolean, required
  - `object` string

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.net/nebius/apis/nebius-openai-compatible-inference-api.md) · [All operations](https://skmtc.net/nebius/apis/nebius-openai-compatible-inference-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/nebius/nebius-openai-compatible-inference-api/revisions/0fb323abba3c/schema)
