Sets one configuration value. The value is type-checked and validated like on the admin settings pages, the change shows up in the setup history. Requires the settings permission (UPDATE_SETTINGS_ACTION_ACCESS). Send it as POST: a value in the query string ends up in request logs.
| HTTP Status | Error Code | Description |
|---|---|---|
| 401 | not_authorized | Caller lacks the settings permission (UPDATE_SETTINGS_ACTION_ACCESS) |
| 403 | not_writable | The setting is read-only, or reserved for the platform operator, or not available on this system |
| 400 | parameter_error | Detail as parameter_error:field:reason. name: missing, unknown, not_localized (suffix on a setting without such variants). value: missing. Otherwise field is the config name and reason says why the value was refused; the value was not saved, except for a theme (SCSS) that was saved but does not compile |