---
title: "Delete a library"
method: DELETE
path: "/libraries/{library_id}"
tags: ["Library"]
---

# Delete a library

`DELETE /libraries/{library_id}`

Delete a library; owner only.

## Path parameters

- `library_id` integer, required

## Query parameters

- `cookie_name` string, nullable

## Response `204`

Successful Response

## Other responses

- `401` — Missing or invalid authentication.
- `403` — Caller is not an owner of this library.
- `404` — No library exists with the given id.
- `422` — Validation Error

---

[API](https://skmtc.net/neulandai/apis/neuland-ai-hub-api.md) · [All operations](https://skmtc.net/neulandai/apis/neuland-ai-hub-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/neulandai/neuland-ai-hub-api/versions/b53e89b98c2b/schema)
