Skip to main content

Update system settings

PUT 

/api/admin/settings

Updates the singleton system settings (upsert). Every field is optional, so a partial payload only touches the fields it includes; numeric fields are clamped to safe bounds and an invalid timezone is rejected. The hCaptcha secret is write-only: send a non-empty hcaptchaSecretKey to set it, or hcaptchaSecretClear: true to remove it. Changes are audited (never the secret value). System administrators only.

View source

Request

Responses

The updated settings (same shape as GET).