---
title: "Updates a user."
method: POST
path: "/Users/{userId}"
tags: ["User"]
---

# Updates a user.

`POST /Users/{userId}`

## Path parameters

- `userId` string, uuid, required — The user id.

## Request body

- UserDto — Class UserDto.
  - `Name` string, nullable — Gets or sets the name.
  - `ServerId` string, nullable — Gets or sets the server identifier.
  - `ServerName` string, nullable — Gets or sets the name of the server. This is not used by the server and is for client-side usage only.
  - `Id` string, uuid — Gets or sets the id.
  - `PrimaryImageTag` string, nullable — Gets or sets the primary image tag.
  - `HasPassword` boolean — Gets or sets a value indicating whether this instance has password.
  - `HasConfiguredPassword` boolean — Gets or sets a value indicating whether this instance has configured password.
  - `HasConfiguredEasyPassword` boolean — Gets or sets a value indicating whether this instance has configured easy password.
  - `EnableAutoLogin` boolean, nullable — Gets or sets whether async login is enabled or not.
  - `LastLoginDate` string, date-time, nullable — Gets or sets the last login date.
  - `LastActivityDate` string, date-time, nullable — Gets or sets the last activity date.
  - `Configuration` UserConfiguration — Class UserConfiguration.
    - `AudioLanguagePreference` string, nullable — Gets or sets the audio language preference.
    - `PlayDefaultAudioTrack` boolean — Gets or sets a value indicating whether [play default audio track].
    - `SubtitleLanguagePreference` string, nullable — Gets or sets the subtitle language preference.
    - `DisplayMissingEpisodes` boolean
    - `GroupedFolders` string[], nullable
    - `SubtitleMode` 'Default' | 'Always' | 'OnlyForced' | 'None' | 'Smart' — An enum representing a subtitle playback mode.
    - `DisplayCollectionsView` boolean
    - `EnableLocalPassword` boolean
    - `OrderedViews` string[], nullable
    - `LatestItemsExcludes` string[], nullable
    - `MyMediaExcludes` string[], nullable
    - `HidePlayedInLatest` boolean
    - `RememberAudioSelections` boolean
    - `RememberSubtitleSelections` boolean
    - `EnableNextEpisodeAutoPlay` boolean
  - `Policy` UserPolicy
    - `IsAdministrator` boolean — Gets or sets a value indicating whether this instance is administrator.
    - `IsHidden` boolean — Gets or sets a value indicating whether this instance is hidden.
    - `IsDisabled` boolean — Gets or sets a value indicating whether this instance is disabled.
    - `MaxParentalRating` integer, nullable — Gets or sets the max parental rating.
    - `BlockedTags` string[], nullable
    - `EnableUserPreferenceAccess` boolean
    - `AccessSchedules` AccessSchedule[], nullable
      - `Id` integer, required — Gets or sets the id of this instance.
      - `UserId` string, uuid, required — Gets or sets the id of the associated user.
      - `DayOfWeek` 'Sunday' | 'Monday' | 'Tuesday' | 'Wednesday' | 'Thursday' | 'Friday' | 'Saturday' | 'Everyday' | 'Weekday' | 'Weekend', required — An enum that represents a day of the week, weekdays, weekends, or all days.
      - `StartHour` number, double, required — Gets or sets the start hour.
      - `EndHour` number, double, required — Gets or sets the end hour.
    - `BlockUnratedItems` UnratedItem[], nullable
    - `EnableRemoteControlOfOtherUsers` boolean
    - `EnableSharedDeviceControl` boolean
    - `EnableRemoteAccess` boolean
    - `EnableLiveTvManagement` boolean
    - `EnableLiveTvAccess` boolean
    - `EnableMediaPlayback` boolean
    - `EnableAudioPlaybackTranscoding` boolean
    - `EnableVideoPlaybackTranscoding` boolean
    - `EnablePlaybackRemuxing` boolean
    - `ForceRemoteSourceTranscoding` boolean
    - `EnableContentDeletion` boolean
    - `EnableContentDeletionFromFolders` string[], nullable
    - `EnableContentDownloading` boolean
    - `EnableSyncTranscoding` boolean — Gets or sets a value indicating whether [enable synchronize].
    - `EnableMediaConversion` boolean
    - `EnabledDevices` string[], nullable
    - `EnableAllDevices` boolean
    - `EnabledChannels` string[], nullable
    - `EnableAllChannels` boolean
    - `EnabledFolders` string[], nullable
    - `EnableAllFolders` boolean
    - `InvalidLoginAttemptCount` integer
    - `LoginAttemptsBeforeLockout` integer
    - `MaxActiveSessions` integer
    - `EnablePublicSharing` boolean
    - `BlockedMediaFolders` string[], nullable
    - `BlockedChannels` string[], nullable
    - `RemoteClientBitrateLimit` integer
    - `AuthenticationProviderId` string, nullable
    - `PasswordResetProviderId` string, nullable
    - `SyncPlayAccess` 'CreateAndJoinGroups' | 'JoinGroups' | 'None' — Enum SyncPlayUserAccessType.
  - `PrimaryImageAspectRatio` number, double, nullable — Gets or sets the primary image aspect ratio.

## Response `204`

User updated.

## Other responses

- `400` — User information was not supplied.
- `401` — Unauthorized
- `403` — User update forbidden.

---

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