Examples

POST /api/domains/22495316-mydomain-net/parameters
{
  "parameter": {
    "name": "parameter2",
    "value": "X"
  }
}
201
{
  "priority": 30,
  "created_at": "2019-11-07 08:37:11 UTC",
  "updated_at": "2019-11-07 08:37:11 UTC",
  "id": 767575490,
  "name": "parameter2",
  "parameter_type": "string",
  "value": "X"
}

Params

Param Name Description
host_id
Optional

Identifikátor stroje

Validations:

  • Must be a String

hostgroup_id
Optional

Identifikátor skupiny strojů

Validations:

  • Must be a String

domain_id
Optional

Identifikátor domény

Validations:

  • Must be a String

operatingsystem_id
Optional

Identifikátor operačního systému

Validations:

  • Must be a String

location_id
Optional

Identifikátor umístění

Validations:

  • Must be a String

organization_id
Optional

Identifikátor organizace

Validations:

  • Must be a String

subnet_id
Optional

Identif. podsítě

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.