---
title: "Put Prefs"
method: PUT
path: "/console/prefs"
tags: ["console"]
---

# Put Prefs

`PUT /console/prefs`

## Request

- Base URL: `https://api.agent4.io` (the document declares no server; this is the origin it was published from)
- URL: `https://api.agent4.io/console/prefs`
- Auth: none declared

**合并**式更新（不是整体替换）：前端只发改动的那几个键。

整体替换会让两个标签页互相覆盖——A 页改了排序、B 页改了 tab，后提交的把先提交的抹掉。

## Request body

- object

## Response `200`

Successful Response

- PrefsOut
  - `prefs` object, required

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/agent4/apis/chatagent-platform.md) · [All operations](https://skmtc.dev/agent4/apis/chatagent-platform/llms.txt) · [OpenAPI document](https://skmtc.dev/agent4/apis/chatagent-platform/revisions/18e58f082ce3?raw)
