---
title: "Update a single resource - User"
method: PUT
path: "/users/{id}"
tags: ["User & Permission"]
---

# Update a single resource - User

`PUT /users/{id}`

Replaces the User resource.

## Path parameters

- `id` string, required

## Request body

- UserUserInputUserInputUpdate
  - `active` boolean
  - `admin` boolean
  - `firstName` string, nullable
  - `lastName` string, nullable
  - `email` string
  - `timezone` string
  - `isAutomaticTimezone` boolean, nullable
  - `decimalFormat` string
  - `job` string, nullable
  - `manager` string, nullable
  - `localesAvailable` Locale[] — List of i18n locales for the application data
  - `localeDefault` string — Any locale
  - `localeI18nDefault` 'fr-FR' | 'de-DE' | 'en-US' | 'es-ES' | 'it-IT' | 'nl-NL' | 'pl-PL' | 'ro-RO' | 'ru-RU' | 'zh-CN' | 'ja-JP' — Any language
  - `permissionFeatures` string[]
  - `permissionField` string, nullable
  - `permissionCatalog` string, nullable
  - `dateDeactivation` string, date-time, nullable — This is an ISO datetime
  - `password` string
  - `profilePicture` string, nullable
  - `type` string, nullable

## Response `200`

User resource updated

- UserUserOutputUserOutput
  - `id` integer
  - `username` string
  - `active` boolean
  - `admin` boolean
  - `firstName` string, nullable
  - `lastName` string, nullable
  - `email` string
  - `timezone` string
  - `isAutomaticTimezone` boolean
  - `job` string, nullable
  - `manager` string, nullable
  - `profilePicture` string, nullable
  - `localesAvailable` Locale[] — List of i18n locales for the application data
  - `localeDefault` string — Any locale
  - `localeI18nDefault` 'fr-FR' | 'de-DE' | 'en-US' | 'es-ES' | 'it-IT' | 'nl-NL' | 'pl-PL' | 'ro-RO' | 'ru-RU' | 'zh-CN' | 'ja-JP' — Any language
  - `permissionFeatures` string[]
  - `permissionField` string, nullable
  - `permissionCatalog` string, nullable
  - `dateDeactivation` string, date-time, nullable — This is an ISO datetime
  - `dateLogged` string, date-time, nullable — This is an ISO datetime
  - `dateCreated` string, date-time, nullable — This is an ISO datetime
  - `dateModified` string, date-time, nullable — This is an ISO datetime
  - `decimalFormat` string
  - `type` string

## Other responses

- `400` — Invalid input
- `404` — Resource not found
- `422` — Unprocessable entity

---

[API](https://skmtc.dev/quable/apis/quable-pim-api-documentation-v5.md) · [All operations](https://skmtc.dev/quable/apis/quable-pim-api-documentation-v5/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/quable/quable-pim-api-documentation-v5/revisions/1641096abb34/schema)
