8.4. Updating Settings

PUT /settings/{param}

Updates the attributes of the specified setting.

Request example:

# curl -s -X PUT -H 'Content-Type: application/json' -H 'X-Auth-Token: gAAAAA<...>' -d '
{
	"value": "1"
}
' https://<controller_hostname>:6556/v1/settings/instance.action.reinstall

Response example:

{
  "value": "0",
  "created_at": "2020-12-18T08:16:37.000000",
  "applies_to": {
    "instance_type": "all",
    "module_type": "all"
  },
  "param": "instance.action.reinstall",
  "updated_at": null
}