Skip to content

Powered by Grav + Helios

Update Config

Update Config

PATCH /config/{scope}
Update configuration values with deep merge.

Parameters

Name Type Description
scope required string Configuration scope: system, site, media, security, plugins/{name}, or themes/{name}
JSON
{"title": "Updated Site Title"}

Response Codes

200 Configuration updated
401 Unauthorized
404 Scope not found
409 Conflict (ETag mismatch)
422 Validation error

The request body is deep-merged into the existing configuration. Supports optimistic concurrency control via the If-Match header.