GET /api/hosts/:host_id/puppetclass_ids
Elenca tutti gli ID delle classi puppet per l'host

Parametri

Nome parametro Descrizione
location_id
opzionale

Set the current location context for the request

Validations:

  • Must be a Integer

organization_id
opzionale

Set the current organization context for the request

Validations:

  • Must be a Integer


POST /api/hosts/:host_id/puppetclass_ids
Aggiungi una classe Puppet all'host

Parametri

Nome parametro Descrizione
location_id
opzionale

Set the current location context for the request

Validations:

  • Must be a Integer

organization_id
opzionale

Set the current organization context for the request

Validations:

  • Must be a Integer

host_id
richiesto

ID host

Validations:

  • Must be a String

puppetclass_id
richiesto

ID della classe del puppet

Validations:

  • Must be a String


DELETE /api/hosts/:host_id/puppetclass_ids/:id
Rimuovi una classe Puppet dall'host

Parametri

Nome parametro Descrizione
location_id
opzionale

Set the current location context for the request

Validations:

  • Must be a Integer

organization_id
opzionale

Set the current organization context for the request

Validations:

  • Must be a Integer

host_id
richiesto

ID host

Validations:

  • Must be a String

id
richiesto

ID della classe del puppet

Validations:

  • Must be a String