Examples

PUT /api/settings/231989830
{
  "setting": {
    "value": "100"
  }
}
200
{
  "value": 100,
  "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": "2018-11-16 10:02:08 UTC",
  "updated_at": "2018-11-16 10:03:33 UTC",
  "id": 231989830,
  "name": "outofsync_interval",
  "full_name": null,
  "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