GET /api/hosts/:host_id/puppetclass_ids
Llista tots els ID de les classes de Puppet per a l'amfitrió

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
Afegeix una classe de Puppet a un amfitrió

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

ID d'amfitrió

Validations:

  • Must be a String

puppetclass_id
required

ID de classe de Puppet

Validations:

  • Must be a String


DELETE /api/hosts/:host_id/puppetclass_ids/:id
Suprimeix una classe de Puppet d'un amfitrió

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

ID d'amfitrió

Validations:

  • Must be a String

id
required

ID de classe de Puppet

Validations:

  • Must be a String