GET /api/hostgroups/636252244/puppetclass_ids
200
{
"results": [
980190962
]
}
| Param name | Description |
|---|---|
|
location_id optional |
Scope by locations Validations:
|
|
organization_id optional |
Scope by organizations Validations:
|
POST /api/hostgroups/636252244/puppetclass_ids
{
"puppetclass_id": 281110143,
"hostgroup_class": {
"puppetclass_id": 281110143
}
}
200
{
"hostgroup_id": 636252244,
"puppetclass_id": 281110143
}
| Param name | Description |
|---|---|
|
location_id optional |
Scope by locations Validations:
|
|
organization_id optional |
Scope by organizations Validations:
|
|
hostgroup_id required |
ID of host group Validations:
|
|
puppetclass_id required |
ID of Puppet class Validations:
|
DELETE /api/hostgroups/636252244/puppetclass_ids/980190962
{
"hostgroup_class": {}
}
200
[
]
| Param name | Description |
|---|---|
|
location_id optional |
Scope by locations Validations:
|
|
organization_id optional |
Scope by organizations Validations:
|
|
hostgroup_id required |
ID of host group Validations:
|
|
id required |
ID of Puppet class Validations:
|