updateUser

Modifies an existing user on the server.

http://your-server/rest/updateUser Since 1.10.1

Modifies an existing user on the server.

Parameters

ParameterReq.OpenS.DefaultComment
usernameYesThe name of the user.
passwordNoThe password of the user, either in clear text of hex-encoded (see above).
emailNoThe email address of the user.
ldapAuthenticatedNoWhether the user is authenicated in LDAP.
adminRoleNoWhether the user is administrator.
settingsRoleNoWhether the user is allowed to change personal settings and password.
streamRoleNoWhether the user is allowed to play files.
jukeboxRoleNoWhether the user is allowed to play files in jukebox mode.
downloadRoleNoWhether the user is allowed to download files.
uploadRoleNoWhether the user is allowed to upload files.
coverArtRoleNoWhether the user is allowed to change cover art and tags.
commentRoleNoWhether the user is allowed to create and edit comments and ratings.
podcastRoleNoWhether the user is allowed to administrate Podcasts.
shareRoleNoWhether the user is allowed to share files with anyone.
videoConversionRoleNofalse(Since 1.15.0) Whether the user is allowed to start video conversions.
musicFolderIdNo(Since 1.12.0) IDs of the music folders the user is allowed access to. Include the parameter once for each folder.
maxBitRateNo(Since 1.13.0) The maximum bit rate (in Kbps) for the user. Audio streams of higher bit rates are automatically downsampled to this bit rate. Legal values: 0 (no limit), 32, 40, 48, 56, 64, 80, 96, 112, 128, 160, 192, 224, 256, 320.

Example

Result

An empty subsonic-response element on success.

{
  "subsonic-response": {
    "status": "ok",
    "version": "1.16.1",
    "type": "AwesomeServerName",
    "serverVersion": "0.1.3 (tag)",
    "openSubsonic": true
  }
}
{
  "subsonic-response": {
    "status": "ok",
    "version": "1.16.1"
  }
}