---
title: "Delete a business knowledge library"
method: DELETE
path: "/api/projects/{project_id}/business_knowledge/libraries/{id}/"
tags: ["business_knowledge"]
---

# Delete a business knowledge library

`DELETE /api/projects/{project_id}/business_knowledge/libraries/{id}/`

## Request

- Base URL: `https://us.posthog.com`
- URL: `https://us.posthog.com/api/projects/{project_id}/business_knowledge/libraries/{id}/`
- Auth: HTTP bearer

Removes the library and its links. Sources, documents, and selected repositories stay.

## Path parameters

- `id` string, required
- `project_id` string, required

## Response `204`

No response body

## Changes

> 52 revisions in range; 1 not diffed.

- **2026-10-15** `d7a9d45fe2ed`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/posthog/apis/posthog-api/changes/api/projects/:project_id/business_knowledge/libraries/:id/delete.md)

---

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