GET /api/hosts/:host_id/puppetclass_ids
Vypsat všechny identifikátory Puppet tříd pro hostitele

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
Přidat hostiteli Puppet třídu

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

host_id
required

Identifikátor stroje

Validations:

  • Must be a String

puppetclass_id
required

Identifikátor puppet třídy

Validations:

  • Must be a 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:

  • Must be a Integer

organization_id
optional

Set the current organization context for the request

Validations:

  • Must be a Integer

host_id
required

Identifikátor stroje

Validations:

  • Must be a String

id
required

Identifikátor puppet třídy

Validations:

  • Must be a String