Examples

PUT /api/settings/outofsync_interval
{
  "setting": {
    "value": "100"
  }
}
200
{
  "description": "Duration in minutes after servers are classed as out of sync. You can override this on hosts by adding a parameter \"outofsync_interval\".",
  "settings_type": "integer",
  "default": 30,
  "updated_at": "2021-09-01 12:56:48 UTC",
  "id": "outofsync_interval",
  "name": "outofsync_interval",
  "full_name": "Out of sync interval",
  "value": 100,
  "category": "General",
  "category_name": "General",
  "readonly": false,
  "config_file": null,
  "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