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

# Delete a file

`DELETE /files/{file_id}`

## Request

- Base URL: `https://api.eu.doconda.com/v1`
- URL: `https://api.eu.doconda.com/v1/files/{file_id}`
- Auth: one of:
  - HTTP bearer
  - HTTP bearer

## Path parameters

- `file_id` string, required

## Response `204`

Deleted.

## Other responses

- `401`: unauthorized (missing, unknown or revoked key; expired session).
- `404`: Not found.

---

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