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

# Updates a user policy.

`POST /Users/{userId}/Policy`

## Path parameters

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

## Request body

- 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.

## Response `204`

User policy updated.

## Other responses

- `400` — User policy was not supplied.
- `401` — Unauthorized
- `403` — User policy 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)
