---
title: "Remove a library from a project"
method: DELETE
path: "/projects/{project_id}/libraries/{library_id}"
tags: ["Project"]
---

# Remove a library from a project

`DELETE /projects/{project_id}/libraries/{library_id}`

## Request

- Base URL: `https://api.your-domain.com`
- URL: `https://api.your-domain.com/projects/{project_id}/libraries/{library_id}`
- Auth: API key in header `X-API-KEY`
- TypeScript: <https://skmtc.dev/neulandai/apis/neuland-ai-hub-api/docs/projects/:project_id/libraries/:library_id/delete.ts> (a function with typed inputs; its response is checked against the schema)

Disable a library for a project by deleting the association.

## Path parameters

- `project_id` integer, required
- `library_id` integer, required: ID of the library to disable.

## Query parameters

- `cookie_name` string, nullable

## Response `204`

Successful Response

## Other responses

- `401`: Missing or invalid authentication.
- `403`: Current user is not a member of the project.
- `404`: No project exists with the given id.
- `422`: Validation Error

---

[API](https://skmtc.dev/neulandai/apis/neuland-ai-hub-api.md) - [All operations](https://skmtc.dev/neulandai/apis/neuland-ai-hub-api/llms.txt) - [OpenAPI document](https://skmtc.dev/neulandai/apis/neuland-ai-hub-api/revisions/b53e89b98c2b?raw)
