Examples

POST /api/subnets/1018350795/parameters
{
  "parameter": {
    "name": "key",
    "value": "suLEhYOywp, Yr1fBb7yEw, 湝廛耔颱初觝訞簕鎼狍, ӻЌчӎеҎӿӬфң, <span>gyAXlqbcAP</span>, ÄöÞãüÞÚÔÓÎ, 6174754656, Ꚏ𨋚獨𥦗𢢁𠴌𪂅髻𣈛榽, ?:(*::':\"@"
  }
}
201
{
  "priority": 40,
  "created_at": "2021-11-26 07:45:24 UTC",
  "updated_at": "2021-11-26 07:45:24 UTC",
  "id": 767575240,
  "name": "key",
  "parameter_type": "string",
  "value": "suLEhYOywp, Yr1fBb7yEw, 湝廛耔颱初觝訞簕鎼狍, ӻЌчӎеҎӿӬфң, <span>gyAXlqbcAP</span>, ÄöÞãüÞÚÔÓÎ, 6174754656, Ꚏ𨋚獨𥦗𢢁𠴌𪂅髻𣈛榽, ?:(*::':\"@"
}

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

subnet_id
optional

ID of subnet

Validations:

  • Must be a String

parameter
required

Validations:

  • Must be a Hash

parameter[name]
required

Validations:

  • Must be a String

parameter[value]
required

Validations:

  • Must be a String

parameter[parameter_type]
required

Type of value

Validations:

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