Examples

PUT /api/settings/231989830
{
  "setting": {
    "value": "100"
  }
}
200
{
  "description": "Duration in minutes after the Puppet interval for servers to be classed as out of sync.",
  "category": "Setting::Puppet",
  "settings_type": "integer",
  "default": 5,
  "created_at": "2021-05-19 07:53:01 UTC",
  "updated_at": "2021-05-19 07:53:02 UTC",
  "id": "outofsync_interval",
  "name": "outofsync_interval",
  "full_name": null,
  "value": 100,
  "category_name": "Puppet",
  "readonly": false,
  "config_file": "settings.yaml",
  "encrypted": false,
  "select_values": null
}

Params

Param name Description
location_id
optional

Set the current location context for the request

Validations:

  • Must be a Integer

organization_id
optional

Set the current organization context for the request

Validations:

  • Must be a Integer

id
required

Validations:

  • Must be a String

setting
required

Validations:

  • Must be a Hash

setting[value]
optional

Validations:

  • Must be a String