Examples

PUT /api/operatingsystems/1073012828-RHEL%206-1/parameters/716195090-os1
{
  "parameter": {
    "name": "special_key",
    "value": "123"
  }
}
200
{
  "priority": null,
  "created_at": "2021-11-26 07:44:54 UTC",
  "updated_at": "2021-11-26 07:45:25 UTC",
  "id": 716195090,
  "name": "special_key",
  "parameter_type": "string",
  "value": "123"
}

Params

Param name Description
host_id
optional

ID of host

Validations:

  • Must be a String

hostgroup_id
optional

ID of host group

Validations:

  • Must be a String

domain_id
optional

ID of domain

Validations:

  • Must be a String

operatingsystem_id
optional

ID of operating system

Validations:

  • Must be a number.

location_id
optional

ID of location

Validations:

  • Must be a String

organization_id
optional

ID of organization

Validations:

  • Must be a String

id
required

ID of parameter

Validations:

  • Must be a String

subnet_id
optional

ID of subnet

Validations:

  • Must be a String

parameter
required

Validations:

  • Must be a Hash

parameter[name]
optional

Validations:

  • Must be a String

parameter[value]
optional

Validations:

  • Must be a String

parameter[parameter_type]
optional

Type of value

Validations:

  • Must be one of: string, boolean, integer, real, array, hash, yaml, json.