Exemples

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

Paramètres

Nom du paramètre Description
host_id
optionel

ID de l’hôte

Validations:

  • Must be a String

hostgroup_id
optionel

ID du groupe d’hôtes

Validations:

  • Must be a String

domain_id
optionel

ID du domaine

Validations:

  • Must be a String

operatingsystem_id
optionel

ID du système d’exploitation

Validations:

  • Must be a String

location_id
optionel

ID d’emplacement

Validations:

  • Must be a String

organization_id
optionel

ID de l’organisation

Validations:

  • Must be a String

subnet_id
optionel

ID du sous-réseau

Validations:

  • Must be a String

parameter
requis

Validations:

  • Must be a Hash

parameter[name]
requis

Validations:

  • Must be a String

parameter[value]
requis

Validations:

  • Must be a String

parameter[parameter_type]
requis

Type de valeur

Validations:

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