GET /api/hostgroups/:hostgroup_id/puppetclass_ids
List all Puppet class IDs for host group

Params

Param name Description
location_id
optional

Set the current location context for the request

Validations:

  • Integer

organization_id
optional

Set the current organization context for the request

Validations:

  • Integer


POST /api/hostgroups/:hostgroup_id/puppetclass_ids
Add a Puppet class to host group

Params

Param name Description
location_id
optional

Set the current location context for the request

Validations:

  • Integer

organization_id
optional

Set the current organization context for the request

Validations:

  • Integer

hostgroup_id
required

ID of host group

Validations:

  • String

puppetclass_id
required

ID of Puppet class

Validations:

  • String


DELETE /api/hostgroups/:hostgroup_id/puppetclass_ids/:id
Remove a Puppet class from host group

Params

Param name Description
location_id
optional

Set the current location context for the request

Validations:

  • Integer

organization_id
optional

Set the current organization context for the request

Validations:

  • Integer

hostgroup_id
required

ID of host group

Validations:

  • String

id
required

ID of Puppet class

Validations:

  • String