---
title: "Update user account settings by id."
method: PATCH
path: "/company/v1/users/{userId}/settings"
tags: ["usersService"]
---

# Update user account settings by id.

`PATCH /company/v1/users/{userId}/settings`

Update user account settings by id.

## Path parameters

- `userId` integer, required

## Request body

- PersonalSettings
  - `nameFormat` string
  - `lang` 'en-US' | 'pt-BR' | 'pl' | 'es-ES' | 'uk'
  - `timeFormat` string
  - `dateFormat` string
  - `timezone` string
  - `firstDay` string
  - `themeAccentColor` string
  - `themeDecor` 'standard' | 'framed'
  - `themeName` 'dark' | 'light' | 'highlighted'

## Response `200`

OK

- PersonalSettings
  - `nameFormat` string
  - `lang` 'en-US' | 'pt-BR' | 'pl' | 'es-ES' | 'uk'
  - `timeFormat` string
  - `dateFormat` string
  - `timezone` string
  - `firstDay` string
  - `themeAccentColor` string
  - `themeDecor` 'standard' | 'framed'
  - `themeName` 'dark' | 'light' | 'highlighted'

## Other responses

- `401` — Access token is missing or invalid
- `404` — Resource not found
- `422` — Validation error response

---

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