Exemplos

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"
}

Parâmentros

Nome parâmetro Descrição
host_id
opcional

ID do host

Validations:

  • Must be a String

hostgroup_id
opcional

ID do grupo de host

Validations:

  • Must be a String

domain_id
opcional

ID para um domínio

Validations:

  • Must be a String

operatingsystem_id
opcional

ID do sistema operacional

Validations:

  • Must be a String

location_id
opcional

ID de localização

Validations:

  • Must be a String

organization_id
opcional

ID de organização

Validations:

  • Must be a String

subnet_id
opcional

ID da subrede

Validations:

  • Must be a String

parameter
requerido

Validations:

  • Must be a Hash

parameter[name]
requerido

Validations:

  • Must be a String

parameter[value]
requerido

Validations:

  • Must be a String

parameter[parameter_type]
requerido

Type of value

Validations:

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