---
title: "PATCH /api/v1/users/{user}/settings/{setting}"
method: PATCH
path: "/api/v1/users/{user}/settings/{setting}"
tags: ["UserService"]
---

# PATCH /api/v1/users/{user}/settings/{setting}

`PATCH /api/v1/users/{user}/settings/{setting}`

UpdateUserSetting updates the user setting.

## Path parameters

- `user` string, required
- `setting` string, required

## Query parameters

- `updateMask` string, field-mask

## Request body

- UserSetting — User settings message
  - `name` string — The name of the user setting. Format: users/{user}/settings/{setting}, {setting} is the key for the setting. For example, "users/123/settings/GENERAL" for general settings.
  - `generalSetting` UserSettingGeneralSetting — General user settings configuration.
    - `locale` string — The preferred locale of the user.
    - `memoVisibility` string — The default visibility of the memo.
    - `theme` string — The preferred theme of the user. This references a CSS file in the web/public/themes/ directory. If not set, the default theme will be used.
  - `webhooksSetting` UserSettingWebhooksSetting — User webhooks configuration.
    - `webhooks` UserWebhook[] — List of user webhooks.
      - `name` string — The name of the webhook. Format: users/{user}/webhooks/{webhook}
      - `url` string — The URL to send the webhook to.
      - `displayName` string — Optional. Human-readable name for the webhook.
      - `createTime` string, date-time — The creation time of the webhook.
      - `updateTime` string, date-time — The last update time of the webhook.

## Response `200`

OK

- UserSetting — User settings message
  - `name` string — The name of the user setting. Format: users/{user}/settings/{setting}, {setting} is the key for the setting. For example, "users/123/settings/GENERAL" for general settings.
  - `generalSetting` UserSettingGeneralSetting — General user settings configuration.
    - `locale` string — The preferred locale of the user.
    - `memoVisibility` string — The default visibility of the memo.
    - `theme` string — The preferred theme of the user. This references a CSS file in the web/public/themes/ directory. If not set, the default theme will be used.
  - `webhooksSetting` UserSettingWebhooksSetting — User webhooks configuration.
    - `webhooks` UserWebhook[] — List of user webhooks.
      - `name` string — The name of the webhook. Format: users/{user}/webhooks/{webhook}
      - `url` string — The URL to send the webhook to.
      - `displayName` string — Optional. Human-readable name for the webhook.
      - `createTime` string, date-time — The creation time of the webhook.
      - `updateTime` string, date-time — The last update time of the webhook.

## Other responses

- `default` — Default error response

## Changes

- **2026-03-19** `6594b37a0c4b` — 2 warning
  - removed the request property `tagsSetting`
  - removed the optional property `tagsSetting` from the response with the `200` status
- **2026-03-18** `ca1d325fc69e` — 2 info
  - added the new optional request property `tagsSetting`
  - added the optional property `tagsSetting` to the response with the `200` status
- **2025-12-19** `1285ae886c6f` — 4 warning
  - removed the request property `accessTokensSetting`
  - removed the request property `sessionsSetting`
  - removed the optional property `accessTokensSetting` from the response with the `200` status
  - removed the optional property `sessionsSetting` from the response with the `200` status
- **2025-12-18** `5b13edddc39c` — 1 breaking, 3 warning, 4 info
  - added `#/components/schemas/Session_ClientInfo` to the `sessionsSetting/sessions/items/clientInfo` request property `allOf` list
  - removed `#/components/schemas/UserSession_ClientInfo` from the `sessionsSetting/sessions/items/clientInfo` request property `allOf` list
  - removed the request property `accessTokensSetting/accessTokens`
  - removed the optional property `accessTokensSetting/accessTokens` from the response with the `200` status
  - …4 more
- …earlier changes not shown

[Full history](https://skmtc.dev/usememos/apis/untitled-api/changes/api/v1/users/:user/settings/:setting/patch.md)

---

[API](https://skmtc.dev/usememos/apis/untitled-api.md) · [All operations](https://skmtc.dev/usememos/apis/untitled-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/usememos/untitled-api/revisions/195e3cc8223d/schema)
