{ data, error, request, response }. Operations with parameters take a flat parameter object first and { client } second.
Global settings
List global settings
allowUnauthorized value is true. An authenticated response is still a map keyed by setting name, not an array.
Save global settings
saveGlobalSetting accepts a map. Every global value contains value and allowUnauthorized; setting the latter to false prevents unauthenticated clients from seeing the key:
application.domain.key. The patch returns no content; inspect result.error if the save needs confirmation.
Delete global settings
Pass setting keys as the flatbody parameter:
User settings
List user settings
Save user settings
User setting values use the same map shape withoutallowUnauthorized:
Delete user settings
Deleting a key exposes the global default again when one exists:Workflows
Apply global defaults with user overrides
Both responses are maps. Copy global entries first, then overwrite them with user entries:Reset user settings to defaults
Read the user map, collect its keys, then send those keys to the delete operation. An empty map needs no request:Update one setting while preserving others
Because save accepts a map, send only the key being changed; other user settings remain untouched:Handle failures
Generated calls do not throw for an HTTP error by default. A 401 indicates missing authentication; a 403 on global writes indicates that the caller is not an admin:unwrap when your application wants exceptions; it throws KomgaApiError for an unsuccessful result. See Quickstart for the pattern.
Next steps
Users
Manage users and per-user preferences.
Admin
Configure server-level administrative settings.
Authentication
Configure the client used by these operations.