This resource has been removed. To continue using it please install the Foreman Puppet plugin and use its API endpoints.


GET /api/hosts/:host_id/puppetclass_ids DEPRECATED
List all Puppet class IDs for host

Params

Param name Description
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


POST /api/hosts/:host_id/puppetclass_ids DEPRECATED
Add a Puppet class to host

Params

Param name Description
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


DELETE /api/hosts/:host_id/puppetclass_ids/:id DEPRECATED
Remove a Puppet class from host

Params

Param name Description
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