Examples

PUT /api/hostgroups/636252244-Common/parameters/767575238-group1
{
  "parameter": {
    "name": "special_key",
    "value": "123"
  }
}
200
{
  "priority": null,
  "created_at": "2021-09-01 11:42:17 UTC",
  "updated_at": "2021-09-01 11:42:25 UTC",
  "id": 767575238,
  "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.