Examples

PUT /api/settings/22346878
{
  "setting": {
    "value": "['baz','foo']"
  }
}
200
{
  "description": "Exclude pattern for all types of imported facts (puppet, ansible, rhsm). Those facts won't be stored in foreman's database. You can use * wildcard to match names with indexes e.g. ignore* will filter out ignore, ignore123 as well as a::ignore or even a::ignore123::b",
  "category": "Setting::Provisioning",
  "settings_type": "array",
  "default": [
    "lo",
    "en*v*",
    "usb*",
    "vnet*",
    "macvtap*",
    ";vdsmdummy;",
    "veth*",
    "docker*",
    "tap*",
    "qbr*",
    "qvb*",
    "qvo*",
    "qr-*",
    "qg-*",
    "vlinuxbr*",
    "vovsbr*",
    "br-int",
    "load_averages::*",
    "memory::system::capacity",
    "memory::system::used*",
    "memory::system::available*",
    "memory::swap::capacity",
    "memory::swap::used*",
    "memory::swap::available*"
  ],
  "updated_at": "2021-05-18 16:19:09 UTC",
  "id": "excluded_facts",
  "name": "excluded_facts",
  "full_name": "Exclude pattern for facts stored in foreman",
  "value": [
    "baz",
    "foo"
  ],
  "category_name": "Provisioning",
  "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