Beispiele

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

Parameter

Parametername Beschreibung
location_id
optional

Set the current location context for the request

Validations:

  • Must be a Integer

organization_id
optional

Set the current organization context for the request

Validations:

  • Must be a Integer

hostgroup_id
verpflichtend

Kennung der Hostgruppe

Validations:

  • Must be a String

puppetclass_id
verpflichtend

Kennung der Puppet-Klasse

Validations:

  • Must be a String