curl --request PATCH \
--url https://demo.komga.org/api/v1/libraries/{libraryId} \
--header 'Authorization: Basic <encoded-value>' \
--header 'Content-Type: application/json' \
--data '
{
"analyzeDimensions": true,
"convertToCbz": true,
"emptyTrashAfterScan": true,
"hashFiles": true,
"hashKoreader": true,
"hashPages": true,
"importBarcodeIsbn": true,
"importComicInfoBook": true,
"importComicInfoCollection": true,
"importComicInfoReadList": true,
"importComicInfoSeries": true,
"importComicInfoSeriesAppendVolume": true,
"importEpubBook": true,
"importEpubSeries": true,
"importLocalArtwork": true,
"importMylarSeries": true,
"name": "<string>",
"oneshotsDirectory": "<string>",
"repairExtensions": true,
"root": "<string>",
"scanCbx": true,
"scanDirectoryExclusions": [
"<string>"
],
"scanEpub": true,
"scanForceModifiedTime": true,
"scanInterval": "DISABLED",
"scanOnStartup": true,
"scanPdf": true,
"seriesCover": "FIRST"
}
'