GET /api/hosts/host1909/puppetclass_ids 200 { "results": [ 1018350799 ] }
Param name | Description |
---|---|
location_id optional |
Scope by locations Validations:
|
organization_id optional |
Scope by organizations Validations:
|
POST /api/hosts/host1907/puppetclass_ids { "puppetclass_id": 281110143, "host_class": { "puppetclass_id": 281110143 } } 200 { "host_id": 25, "puppetclass_id": 281110143 }
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/host1906/puppetclass_ids/1018350796 { "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:
|