GET /api/provisioning_templates/269958254/template_combinations 200 { "total": 2, "subtotal": 2, "page": 1, "per_page": 20, "search": null, "sort": { "by": null, "order": null }, "results": [ { "created_at": "2021-11-26 08:51:49 UTC", "updated_at": "2021-11-26 08:51:49 UTC", "id": 298486374, "provisioning_template_id": 269958254, "provisioning_template_name": "MyString2", "hostgroup_id": 928644285, "hostgroup_name": "Parent/inherited" }, { "created_at": "2021-11-26 08:51:49 UTC", "updated_at": "2021-11-26 08:51:49 UTC", "id": 281110143, "provisioning_template_id": 269958254, "provisioning_template_name": "MyString2", "hostgroup_id": 636252244, "hostgroup_name": "Common" } ] }
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:
|
provisioning_template_id optional |
ID of config template Validations:
|
hostgroup_id optional |
ID of host group Validations:
|
POST /api/provisioning_templates/269958254/template_combinations { "template_combination": { "hostgroup_id": 866317115 } } 201 { "created_at": "2021-11-26 08:51:50 UTC", "updated_at": "2021-11-26 08:51:50 UTC", "id": 1018350796, "provisioning_template_id": 269958254, "provisioning_template_name": "MyString2", "hostgroup_id": 866317115, "hostgroup_name": "Unusual" }
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:
|
provisioning_template_id optional |
ID of config template Validations:
|
hostgroup_id optional |
ID of host group Validations:
|
template_combination required |
Validations:
|
template_combination[hostgroup_id] optional , nil allowed |
host group id Validations:
|
GET /api/template_combinations/281110143 200 { "created_at": "2021-11-26 08:11:04 UTC", "updated_at": "2021-11-26 08:11:04 UTC", "id": 281110143, "provisioning_template_id": 269958254, "provisioning_template_name": "MyString2", "hostgroup_id": 636252244, "hostgroup_name": "Common" }
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:
|
provisioning_template_id optional |
ID of config template Validations:
|
hostgroup_id optional |
ID of host group Validations:
|
id required |
Validations:
|
PUT /api/provisioning_templates/269958254/template_combinations/298486374 { "template_combination": { "hostgroup_id": 928644286 } } 200 { "created_at": "2021-11-26 08:51:49 UTC", "updated_at": "2021-11-26 08:51:51 UTC", "id": 298486374, "provisioning_template_id": 269958254, "provisioning_template_name": "MyString2", "hostgroup_id": 928644286, "hostgroup_name": "hostgroup126" }
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:
|
id required |
Validations:
|
provisioning_template_id optional |
ID of config template Validations:
|
hostgroup_id optional |
ID of host group Validations:
|
template_combination required |
Validations:
|
template_combination[hostgroup_id] optional , nil allowed |
host group id Validations:
|
DELETE /api/template_combinations/281110143 { "template_combination": {} } 200 { "id": 281110143, "provisioning_template_id": 269958254, "hostgroup_id": 636252244, "environment_id": null, "created_at": "2021-11-26T08:11:04.489Z", "updated_at": "2021-11-26T08:11:04.489Z" }
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:
|
id required |
Validations:
|