v50

latestSwagger 2.0raw.githubusercontent.com2026-08-07307239824.1 KB
认证

更新当前用户的个性化设置

按 PATCH 语义合并用户偏好(仅覆盖请求体里出现的字段,其余字段保持不变), 数据存放在 users.preferences (JSON),跨设备/浏览器自动同步。

put/auth/me/preferences

Request body

last_active_tenant_idinteger

LastActiveTenantID lets the SPA persist "after a fresh login, drop me back into this workspace" across devices. Send a positive workspace id to set / replace, or 0 to clear. Membership is validated at next login, not here. Nil = field omitted from the PATCH and stays untouched.

Response

更新后的偏好

object required