Examples

PUT /api/domains/22495316-mydomain-net/parameters/665394701-parameter
{
  "parameter": {
    "name": "special_key",
    "value": "123"
  }
}
200
{
  "priority": null,
  "created_at": "2019-09-11 14:58:27 UTC",
  "updated_at": "2019-09-11 14:58:41 UTC",
  "id": 665394701,
  "name": "special_key",
  "parameter_type": null,
  "value": "123"
}

Params

Param Name Description
host_id
Optional

ID för värd

Validations:

  • Must be a String

hostgroup_id
Optional

ID för värdgrupp

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 String

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.