---
title: "Deletes multiple libraries and all series within it."
method: DELETE
path: "/api/Library/delete-multiple"
tags: ["Library"]
---

# Deletes multiple libraries and all series within it.

`DELETE /api/Library/delete-multiple`

## Request

- Base URL: `http://localhost:5000`
- URL: `http://localhost:5000/api/Library/delete-multiple`
- Auth: API key in header `x-api-key`

This does not touch any files

## Request body

- integer[]

## Response `200`

OK

## Changes

- **2026-09-24** `ec3a6f1eae66`: 3 breaking
  - removed the media type `application/json` for the response with the status `200`
  - removed the media type `text/json` for the response with the status `200`
  - removed the media type `text/plain` for the response with the status `200`
- **2026-03-25** `2627e88d0b2f`: 1 warning, 1 info
  - deleted the `query` request parameter `libraryIds`
  - added optional request body

[Operation history](https://skmtc.dev/kareadita/apis/kavita/changes/api/Library/delete-multiple/delete.md)

---

[API](https://skmtc.dev/kareadita/apis/kavita.md) - [All operations](https://skmtc.dev/kareadita/apis/kavita/llms.txt) - [OpenAPI document](https://skmtc.dev/kareadita/apis/kavita/revisions/d266465eeb67?raw)
