---
title: "Delete a knowledge file"
method: DELETE
path: "/knowledge-files/{fileId}"
tags: ["KnowledgeFiles", "Beta"]
---

# Delete a knowledge file

`DELETE /knowledge-files/{fileId}`

## Request

- Base URL: `https://public.escape.tech/v3`
- URL: `https://public.escape.tech/v3/knowledge-files/{fileId}`
- Auth: API key in header `X-ESCAPE-API-KEY`

Delete a file from the organization knowledge library.

## Path parameters

- `fileId` string, uuid, required: The knowledge file ID

## Response `200`

OK

- object
  - `message` string, required

## Other responses

- `400`: Bad Request
- `401`: Unauthorized

---

[API](https://skmtc.dev/escape/apis/escape-public-api.md) - [All operations](https://skmtc.dev/escape/apis/escape-public-api/llms.txt) - [OpenAPI document](https://skmtc.dev/escape/apis/escape-public-api/revisions/2eab35df40c7?raw)
