Skip to content

Update user profile

PUT
/api/v1/users/{id}/profile
curl --request PUT \
--url http://127.0.0.1:58259/api/v1/users/1/profile \
--header 'Content-Type: application/json' \
--data '{ "name": "example", "email": "example", "locale": "example", "theme": "example", "themeAccent": "example", "themeSyncEnabled": true }'

Update a user’s profile preferences by their ID. Allowed for admins and the user themself.

id
required
integer format: int64

ID of the user

Media type application/json

User profile update request

object
name
string
email
string
locale
string
theme
string
themeAccent
string
themeSyncEnabled
boolean
Example generated
{
"name": "example",
"email": "example",
"locale": "example",
"theme": "example",
"themeAccent": "example",
"themeSyncEnabled": true
}

User profile updated successfully

Media type */*
object
id
integer format: int64
username
string
name
string
email
string
locale
string
theme
string
themeAccent
string
themeSyncEnabled
boolean
provisioningMethod
string
Allowed values: LOCAL OIDC REMOTE
assignedLibraries
Array<object>
object
id
integer format: int64
name
string
sort
object
field
string
direction
string
Allowed values: ASCENDING DESCENDING
icon
string
iconType
string
Allowed values: PRIME_NG CUSTOM_SVG
fileNamingPattern
string
watch
boolean
paths
Array<object>
object
id
integer format: int64
libraryId
integer format: int64
path
string
formatPriority
Array<string>
Allowed values: PDF EPUB CBX FB2 MOBI AZW3 AUDIOBOOK
allowedFormats
Array<string>
Allowed values: PDF EPUB CBX FB2 MOBI AZW3 AUDIOBOOK
organizationMode
string
Allowed values: BOOK_PER_FILE BOOK_PER_FOLDER AUTO_DETECT
metadataSource
string
Allowed values: EMBEDDED SIDECAR PREFER_SIDECAR PREFER_EMBEDDED NONE
permissions
object
canUpload
boolean
canDownload
boolean
canEditMetadata
boolean
canManageLibrary
boolean
canSyncKoReader
boolean
canSyncKobo
boolean
canEmailBook
boolean
canDeleteBook
boolean
canAccessOpds
boolean
canManageMetadataConfig
boolean
canAccessBookdrop
boolean
canAccessLibraryStats
boolean
canAccessUserStats
boolean
canAccessTaskManager
boolean
canManageGlobalPreferences
boolean
canManageIcons
boolean
canManageFonts
boolean
canBulkAutoFetchMetadata
boolean
canBulkCustomFetchMetadata
boolean
canBulkEditMetadata
boolean
canBulkRegenerateCover
boolean
canMoveOrganizeFiles
boolean
canBulkLockUnlockMetadata
boolean
canBulkResetBookloreReadProgress
boolean
canBulkResetKoReaderReadProgress
boolean
canBulkResetBookReadStatus
boolean
demoUser
boolean
admin
boolean
userSettings
object
perBookSetting
object
pdf
string
Allowed values: Global Individual
epub
string
Allowed values: Global Individual
cbx
string
Allowed values: Global Individual
newPdf
string
Allowed values: Global Individual
pdfReaderSetting
object
pageSpread
string
pageZoom
string
scrollLayout
string
newPdfReaderSetting
object
pageSpread
string
Allowed values: EVEN ODD
pageViewMode
string
Allowed values: SINGLE_PAGE TWO_PAGE
backgroundColor
string
Allowed values: GRAY BLACK WHITE
fitMode
string
Allowed values: ACTUAL_SIZE FIT_PAGE FIT_WIDTH FIT_HEIGHT AUTO
scrollMode
string
Allowed values: PAGINATED INFINITE
epubReaderSetting
object
theme
string
font
string
fontSize
integer format: int32
letterSpacing
number format: float
lineHeight
number format: float
flow
string
spread
string
ebookReaderSetting
object
fontFamily
string
fontSize
integer format: int32
gap
number format: float
hyphenate
boolean
isDark
boolean
justify
boolean
lineHeight
number format: float
maxBlockSize
integer format: int32
maxColumnCount
integer format: int32
maxInlineSize
integer format: int32
theme
string
flow
string
cbxReaderSetting
object
pageSpread
string
Allowed values: EVEN ODD
pageViewMode
string
Allowed values: SINGLE_PAGE TWO_PAGE
fitMode
string
Allowed values: ACTUAL_SIZE FIT_PAGE FIT_WIDTH FIT_HEIGHT AUTO
scrollMode
string
Allowed values: PAGINATED INFINITE LONG_STRIP
backgroundColor
string
Allowed values: GRAY BLACK WHITE
stripMaxWidthPercent
integer format: int32
sidebarLibrarySorting
object
field
string
order
string
sidebarShelfSorting
object
field
string
order
string
sidebarMagicShelfSorting
object
field
string
order
string
entityViewPreferences
object
global
object
sortKey
string
sortDir
string
sortCriteria
Array<object>
object
field
string
direction
string
view
string
coverSize
number format: float
seriesCollapsed
boolean
overlayBookType
boolean
overrides
Array<object>
object
entityType
string
entityId
integer format: int64
preferences
object
sortKey
string
sortDir
string
sortCriteria
Array<object>
object
field
string
direction
string
view
string
seriesCollapsed
boolean
overlayBookType
boolean
coverSize
number format: float
tableColumnPreference
Array<object>
object
field
string
visible
boolean
order
integer format: int32
filterMode
string
filterSortingMode
string
metadataCenterViewMode
string
koReaderEnabled
boolean
enableSeriesView
boolean
autoSaveMetadata
boolean
visibleFilters
Array<string>
visibleSortFields
Array<string>
dashboardConfig
object
scrollers
Array<object>
object
id
string
type
string
title
string
enabled
boolean
order
integer format: int32
maxItems
integer format: int32
magicShelfId
integer format: int64
sortField
string
sortDirection
string
defaultPassword
boolean