Examples

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

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 för värd

Validations:

  • Must be a String

puppetclass_id
Required

ID of Puppet class

Validations:

  • Must be a String