update_setting
Update a UniFi controller setting group by key, using a payload of settable fields. Detects and reports invalid fields that the controller would otherwise silently ignore.
Instructions
Update a controller setting group by key.
host: console name, ID, or composite ID (MAC:numericId format). site: site name or ID. setting_key: setting group identifier (e.g. 'mgmt', 'super_smtp', 'guest_access'). payload: setting fields to update.
Discover the schema first by calling get_setting(setting_key): it returns every settable field and its current (valid) value. The controller silently drops any unrecognised field or enum value (HTTP 200, value unchanged), so a guessed value fails invisibly; this tool detects that no-op and raises an error naming the rejected field and pointing you back at get_setting.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| host | Yes | ||
| site | Yes | ||
| payload | Yes | ||
| setting_key | Yes |