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

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/hosts/:host_id/puppetclass_ids
Add a Puppet class to host

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

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

Set the current location context for the request

Validations:

  • Integer

organization_id
optional

Set the current organization context for the request

Validations:

  • Integer

host_id
required

ID of host

Validations:

  • String

id
required

ID of Puppet class

Validations:

  • String