---
title: "批量删除歌单"
method: POST
path: "/playlists/batch-delete"
tags: ["歌单管理"]
---

# 批量删除歌单

`POST /playlists/batch-delete`

根据歌单 ID 列表批量删除歌单，内置歌单会被跳过

## Request body

- ModelsBatchDeletePlaylistsRequest
  - `ids` integer[] — 要删除的歌单 ID 列表

## Response `200`

删除成功

- ModelsBatchDeletePlaylistsResponse
  - `deleted` integer — 实际删除的数量

## Other responses

- `400` — 请求数据错误
- `500` — 删除失败

---

[API](https://skmtc.dev/songloft-org/apis/songloft-api.md) · [All operations](https://skmtc.dev/songloft-org/apis/songloft-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/songloft-org/songloft-api/revisions/9964dd35fffa/schema)
