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

# Delete File

`DELETE /files/{fileId}`

Delete a file.

## Path parameters

- `fileId` string, required

## Response `200`

OK

- DeleteFileOut
  - `deleted` boolean, required — The deletion status.
  - `id` string, uuid, required — The ID of the deleted file.
  - `object` string, required — The object type that was deleted

## Changes

- **2026-07-17** `062746a4d99e` — 1 info
  - endpoint added
- **2025-03-09** `a88399f645b2` — 1 breaking
  - api path removed without deprecation

[Change history](https://skmtc.dev/ballerina-platform/apis/mistral-ai-api/changes/files/:fileId/delete.md)

---

[API](https://skmtc.dev/ballerina-platform/apis/mistral-ai-api.md) · [All operations](https://skmtc.dev/ballerina-platform/apis/mistral-ai-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/ballerina-platform/mistral-ai-api/revisions/062746a4d99e/schema)
