Skip to content

Reset User Settings Section

POST
/api/data/settings/user/reset-section/{section}

Reset a named subset of UserSettings fields to defaults.

Each SettingsModal tab edits a disjoint subset of the flat UserSettings model; this endpoint reverts just the fields owned by section and leaves everything else alone. Fields in the section map that no longer exist on the model are silently skipped.

section
required
Section
string
Allowed values: general editor outline desktop graphics performance

Successful Response

Response Reset User Settings Section Api Data Settings User Reset Section Section Post
object
key
additional properties
any

Validation Error

HTTPValidationError
object
detail
Detail
Array<object>
ValidationError
object
loc
required
Location
Array
msg
required
Message
string
type
required
Error Type
string
input
Input
ctx
Context
object