Overview
The User Management API provides comprehensive endpoints for user CRUD operations, authentication, password management, and user configuration in Jellyfin Server.Get Users
Retrieves a list of all users on the server. Endpoint:GET /Users
Authorization: Required
Query Parameters
Filter by hidden status. Set to
true to show only hidden users, false for non-hidden users.Filter by disabled status. Set to
true to show only disabled users, false for enabled users.Response
Array of user objects
Example Request
Example Response
Get Public Users
Retrieves a list of publicly visible users for display on a login screen. Endpoint:GET /Users/Public
Authorization: Not required
Response
Returns an array of UserDto objects for users that are not hidden and have remote access enabled.Example Request
Get User by ID
Retrieves a specific user by their unique identifier. Endpoint:GET /Users/{userId}
Authorization: Required
Path Parameters
The unique identifier of the user
Response
Returns a UserDto object with complete user information.Status Codes
200- User returned successfully404- User not found
Example Request
Get Current User
Retrieves the user associated with the current authentication token. Endpoint:GET /Users/Me
Authorization: Required
Response
Returns a UserDto object for the authenticated user.Status Codes
200- User returned successfully400- Token is not owned by a user
Example Request
Create User
Creates a new user account on the server. Endpoint:POST /Users/New
Authorization: Required (Administrator with elevated privileges)
Request Body
Username for the new user
Initial password for the user (plain text)
Response
Returns the newly created UserDto object.Status Codes
200- User created successfully403- Insufficient permissions
Example Request
Example Response
Update User
Updates a user’s information including username and configuration. Endpoint:POST /Users (with query parameter) or POST /Users/{userId} (legacy)
Authorization: Required
Query Parameters
The user ID to update. If not provided, updates the authenticated user.
Request Body
Updated username
Updated user configuration object
Response
Returns204 No Content on success.
Status Codes
204- User updated successfully400- Invalid user information403- User update forbidden404- User not found
Example Request
Delete User
Deletes a user account from the server. Endpoint:DELETE /Users/{userId}
Authorization: Required (Administrator with elevated privileges)
Path Parameters
The unique identifier of the user to delete
Response
Returns204 No Content on success. This operation also:
- Revokes all user tokens
- Removes all user playlists
- Permanently deletes the user account
Status Codes
204- User deleted successfully404- User not found
Example Request
Update User Password
Updates a user’s password or resets it. Endpoint:POST /Users/Password (with query parameter) or POST /Users/{userId}/Password (legacy)
Authorization: Required
Query Parameters
The user ID to update password for. If not provided, updates the authenticated user’s password.
Request Body
Current password in plain text (required for non-admin users)
New password in plain text
If true, resets the password to empty (admin only)
Response
Returns204 No Content on success. All existing user tokens (except the current one) are revoked.
Status Codes
204- Password successfully updated403- Insufficient permissions or invalid current password404- User not found
Example Request
Update User Policy
Updates a user’s policy settings, including permissions and restrictions. Endpoint:POST /Users/{userId}/Policy
Authorization: Required (Administrator with elevated privileges)
Path Parameters
The unique identifier of the user
Request Body
Whether the user has administrator privileges
Whether the user is hidden from login screens
Whether the user account is disabled
Whether the user can access all media folders
Array of folder IDs the user can access (if EnableAllFolders is false)
Whether the user can play media
Whether the user can access Live TV
Maximum number of concurrent sessions (0 for unlimited)
Response
Returns204 No Content on success.
Status Codes
204- Policy updated successfully400- Invalid policy data403- Operation forbidden (e.g., removing last admin)404- User not found
Validation Rules
- At least one administrator must remain in the system
- At least one enabled user must remain in the system
- Administrators cannot be disabled
Example Request
Update User Configuration
Updates a user’s configuration settings such as language preferences and playback options. Endpoint:POST /Users/Configuration (with query parameter) or POST /Users/{userId}/Configuration (legacy)
Authorization: Required
Query Parameters
The user ID to update configuration for. If not provided, updates the authenticated user.
Request Body
Preferred audio language code (e.g., “eng”, “spa”)
Preferred subtitle language code
Whether to play the default audio track
Subtitle mode: “Default”, “Smart”, “OnlyForced”, “Always”, “None”
Whether to automatically play the next episode
Whether to remember audio track selections
Whether to remember subtitle selections
Response
Returns204 No Content on success.
Status Codes
204- Configuration updated successfully403- User configuration update not allowed404- User not found
Example Request
Authenticate User by Name
Authenticates a user with username and password, creating a new session. Endpoint:POST /Users/AuthenticateByName
Authorization: Not required (but device headers are recommended)
Request Body
The username
The password in plain text
Response
The authenticated user information (UserDto)
Information about the created session
The authentication token to use for subsequent requests
The server identifier
Status Codes
200- User authenticated successfully401- Invalid username or password
Example Request
Example Response
Forgot Password
Initiates the forgot password process for a local user. Endpoint:POST /Users/ForgotPassword
Authorization: Not required
Request Body
The username to reset password for
Response
The action to take: “ContactAdmin”, “PinCode”, or “InNetworkRequired”
Path to the PIN file (if Action is “PinCode”)
Status Codes
200- Password reset process started
Example Request
Redeem Forgot Password Pin
Redeems a forgot password PIN to complete the password reset. Endpoint:POST /Users/ForgotPassword/Pin
Authorization: Not required
Request Body
The PIN from the forgot password process
Response
Whether the PIN was valid
Array of usernames that were reset
Status Codes
200- PIN processed