Update server settings
PATCHhttps://demo.komga.org/api/v1/settings
You can omit fields you don't want to update
Required role: ADMIN
Request
- application/json
Bodyrequired
deleteEmptyCollectionsboolean
deleteEmptyReadListsboolean
kepubifyPathstring
koboPortint32
Possible values: <= 65535
koboProxyboolean
rememberMeDurationDaysint64
renewRememberMeKeyboolean
serverContextPathstring
Possible values: Value must match regular expression ^\/[\w-\/]*[a-zA-Z0-9]$
serverPortint32
Possible values: <= 65535
taskPoolSizeint32
thumbnailSizestring
Possible values: [DEFAULT
, MEDIUM
, LARGE
, XLARGE
]
Responses
- 204
- 400
No Content
Bad Request
- */*
- Schema
- Example (auto)
Schema
violations object[]required
{
"violations": [
{
"fieldName": "string",
"message": "string"
}
]
}
Authorization: http
name: basicAuthtype: httpscheme: basic
- curl
- python
- nodejs
- java
- kotlin
- powershell
- swift
- rust
- CURL
curl -L -X PATCH 'https://demo.komga.org/api/v1/settings' \
-H 'Content-Type: application/json' \
-H 'Authorization: Basic PHVzZXJuYW1lPjo8cGFzc3dvcmQ+' \
-d '{
"deleteEmptyCollections": true,
"deleteEmptyReadLists": true,
"kepubifyPath": "string",
"koboPort": 0,
"koboProxy": true,
"rememberMeDurationDays": 0,
"renewRememberMeKey": true,
"serverContextPath": "string",
"serverPort": 0,
"taskPoolSize": 0,
"thumbnailSize": "DEFAULT"
}'
ResponseClear