Examples

POST /api/subnets/1018350795/parameters
{
  "parameter": {
    "name": "name with space",
    "value": "123"
  }
}
422
{
  "error": {
    "id": null,
    "errors": {
      "name": [
        "can't contain spaces."
      ]
    },
    "full_messages": [
      "Name can't contain spaces."
    ]
  }
}

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 String

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