---
title: "DELETE /v1/knowledge-base/files/{id}"
method: DELETE
path: "/v1/knowledge-base/files/{id}"
tags: ["knowledge-base"]
---

# DELETE /v1/knowledge-base/files/{id}

`DELETE /v1/knowledge-base/files/{id}`

Delete a knowledge base file and all its chunks

## Path parameters

- `id` string, required

## Query parameters

- `projectId` string, required

## Response `200`

Default Response

---

[API](https://skmtc.dev/activepieces/apis/activepieces-documentation.md) · [All operations](https://skmtc.dev/activepieces/apis/activepieces-documentation/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/activepieces/activepieces-documentation/revisions/745e4b7f764a/schema)
