---
title: "更新空间KV配置"
method: PUT
path: "/tenants/kv/{key}"
tags: ["空间管理"]
---

# 更新空间KV配置

`PUT /tenants/kv/{key}`

更新空间级别的KV配置（支持web-search-config、parser-engine-config、storage-engine-config、chat-history-config、retrieval-config）

## Path parameters

- `key` string, required

## Request body

- object

## Response `200`

更新成功

- object

## Other responses

- `400` — 不支持的键

---

[API](https://skmtc.net/tencentblueking/apis/weknora-api.md) · [All operations](https://skmtc.net/tencentblueking/apis/weknora-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/tencentblueking/weknora-api/revisions/d6921ae22ce0/schema)
