Examples

PUT /api/settings/231989830
{
  "setting": {
    "value": 120
  }
}
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": "2020-05-20 13:18:01 UTC",
  "updated_at": "2020-05-20 13:18:02 UTC",
  "id": 231989830,
  "name": "outofsync_interval",
  "full_name": null,
  "value": 120,
  "category_name": "Puppet"
}

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