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

Params

Param name Description
location_id
optional

Scope by locations

Validations:

  • Integer

organization_id
optional

Scope by organizations

Validations:

  • Integer


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

Params

Param name Description
location_id
optional

Scope by locations

Validations:

  • Integer

organization_id
optional

Scope by organizations

Validations:

  • Integer

host_id
required

ID of host

Validations:

  • String

puppetclass_id
required

ID of Puppet class

Validations:

  • String


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

Params

Param name Description
location_id
optional

Scope by locations

Validations:

  • Integer

organization_id
optional

Scope by organizations

Validations:

  • Integer

host_id
required

ID of host

Validations:

  • String

id
required

ID of Puppet class

Validations:

  • String