GET /api/hosts/host2666/puppetclass_ids 200 { "results": [ 1018350797 ] }
Param name | Description |
---|---|
location_id optional |
Scope by locations Validations:
|
organization_id optional |
Scope by organizations Validations:
|
POST /api/hosts/host2667/puppetclass_ids { "puppetclass_id": "invalid_id", "host_class": { "puppetclass_id": "invalid_id" } } 404 { "error": { "message": "Resource host_class not found by id ''" } }
Param name | Description |
---|---|
location_id optional |
Scope by locations Validations:
|
organization_id optional |
Scope by organizations Validations:
|
host_id required |
ID of host Validations:
|
puppetclass_id required |
ID of Puppet class Validations:
|
DELETE /api/hosts/host2669/puppetclass_ids/1018350800 { "host_class": {} } 200 [ ]
Param name | Description |
---|---|
location_id optional |
Scope by locations Validations:
|
organization_id optional |
Scope by organizations Validations:
|
host_id required |
ID of host Validations:
|
id required |
ID of Puppet class Validations:
|