---
title: "Delete File"
method: DELETE
path: "/v1/knowledge/{kb_slug}/{filename}"
tags: ["Knowledge"]
---

# Delete File

`DELETE /v1/knowledge/{kb_slug}/{filename}`

Delete a specific file from a knowledge base.

## Path parameters

- `kb_slug` string, required
- `filename` string, required

## Headers

- `authorization` string, nullable

## Response `204`

Successful Response

## Other responses

- `422` — Validation Error

---

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