---
title: "更新主题目录 URL"
method: PUT
path: "/settings/theme-catalog-url"
tags: ["主题包"]
---

# 更新主题目录 URL

`PUT /settings/theme-catalog-url`

设置主题目录的远程 URL，同时清除本地目录缓存。URL 不能为空

## Request body

- object

## Response `200`

更新后的目录 URL

- object

## Other responses

- `400` — URL 为空或请求格式错误

## Changes

- **2026-09-20** `9037eb86ae14` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/songloft-org/apis/songloft-api/changes/settings/theme-catalog-url/put.md)

---

[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.dev/songloft-org/apis/songloft-api/revisions/9037eb86ae14?raw)
