Skip to main content

KomgaUserDto

Komga user DTO

Response for GET /api/v1/users/me

contentRestrictions object

User's content restrictions

ageRestriction object

Age restriction (null means no restriction)

ageinteger<int32>required

Age limit

restrictionstringrequired

Restriction type (ALLOW_ONLY, EXCLUDE)

labelsAllowstring[]

Labels restriction

labelsExcludestring[]

Labels to exclude

emailstringrequired

User email address

idstringrequired

User unique identifier (UUID as string)

labelsAllowstring[]

Whether user can share content

labelsExcludestring[]

Labels to exclude from sharing

rolesstring[]required

User roles (e.g., ["ADMIN"], ["USER"])

sharedAllLibrariesboolean

Whether all libraries are shared with this user

sharedLibrariesIdsstring[]

Shared libraries access - list of library IDs user can access Empty means access to all libraries

KomgaUserDto
{
"contentRestrictions": {
"ageRestriction": {
"age": 0,
"restriction": "string"
},
"labelsAllow": [
"string"
],
"labelsExclude": [
"string"
]
},
"email": "string",
"id": "string",
"labelsAllow": [
"string"
],
"labelsExclude": [
"string"
],
"roles": [
"string"
],
"sharedAllLibraries": true,
"sharedLibrariesIds": [
"string"
]
}