---
title: "Delete a knowledge file"
method: DELETE
path: "/v1/knowledge/files/{file_path}"
tags: ["External API"]
---

# Delete a knowledge file

`DELETE /v1/knowledge/files/{file_path}`

Delete a customer-visible file under `user_generated/` or `skills/`.

## Path parameters

- `file_path` string, required

## Headers

- `If-Match` string, nullable

## Response `204`

Successful Response

## Other responses

- `400` — Bad Request
- `401` — Unauthorized
- `403` — Forbidden
- `404` — Not Found
- `409` — Conflict
- `412` — Precondition Failed
- `500` — Internal Server Error
- `503` — Service Unavailable
- `4XX` — Client error returned in the V1 error envelope.

---

[API](https://skmtc.dev/traversal/apis/fastapi.md) · [All operations](https://skmtc.dev/traversal/apis/fastapi/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/traversal/fastapi/revisions/01ca496f3b4f/schema)
