---
title: "清理孤儿持久化存储"
method: POST
path: "/jsplugins/storage/cleanup"
tags: ["JS插件管理"]
---

# 清理孤儿持久化存储

`POST /jsplugins/storage/cleanup`

删除 plugin_storage 表中不属于任何已安装插件的数据。当插件被卸载后，其持久化存储数据会保留在数据库中；此端点用于清理这些无主数据。

## Response `200`

清理完成

- object

## Other responses

- `500` — 服务器错误

---

[API](https://skmtc.net/songloft-org/apis/songloft-api.md) · [All operations](https://skmtc.net/songloft-org/apis/songloft-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/songloft-org/songloft-api/versions/ee41778dbf8f/schema)
