update_form_settings
Update specific settings on an existing Nettskjema form using partial changes, with local key validation and clear reporting of any rejected settings.
Instructions
Update one or more settings on an existing form.
This endpoint accepts partial updates: only the settings included in the settings dict will be updated. A 207 Multi-Status response means some settings were applied and others were rejected; this is reported as an error listing the failed settings.
The settings dict is validated as a partial FormSettingsDTO before the request is sent. Required-field constraints are relaxed for partial updates, but unknown keys are rejected locally to catch typos and flag fields that are newer than the vendored spec snapshot.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| form_id | Yes | The form's numeric ID. | |
| settings | Yes | A dict of settings to update. Only the settings included are changed. | |
| force_cleanup | No | Whether to force cleanup of conflicting settings. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |