POST /api/hosts/host1606/puppetclass_ids/invalid_id
{
"host_class": {}
}
422
{
"error": {
"message": "Couldn't find Puppetclass with 'id'=invalid_id"
}
}
| Param name | Description |
|---|---|
|
location_id optional |
Set the current location context for the request Validations:
|
|
organization_id optional |
Set the current organization context for the request Validations:
|
|
host_id required |
ID of host Validations:
|
|
id required |
ID of Puppet class Validations:
|