Ejemplos

POST /api/hosts/host710/puppetclass_ids
{
  "puppetclass_id": 281110143,
  "host_class": {
    "puppetclass_id": 281110143
  }
}
200
{
  "host_id": 12,
  "puppetclass_id": 281110143
}

Parámetros

Nombre del parámetro Descripción
location_id
opcional

Set the current location context for the request

Validations:

  • Must be a Integer

organization_id
opcional

Set the current organization context for the request

Validations:

  • Must be a Integer

host_id
requerido

ID del host

Validations:

  • Must be a String

puppetclass_id
requerido

ID de la clase Puppet

Validations:

  • Must be a String