Exemples

POST /api/hostgroups/636252244/puppetclass_ids
{
  "puppetclass_id": 281110143,
  "hostgroup_class": {
    "puppetclass_id": 281110143
  }
}
200
{
  "hostgroup_id": 636252244,
  "puppetclass_id": 281110143
}

Paramètres

Nom du paramètre Description
location_id
optionel

Set the current location context for the request

Validations:

  • Must be a Integer

organization_id
optionel

Set the current organization context for the request

Validations:

  • Must be a Integer

hostgroup_id
requis

ID du groupe d’hôtes

Validations:

  • Must be a String

puppetclass_id
requis

ID de la classe Puppet

Validations:

  • Must be a String