DEPRECATED
GET /api/config_templates/269958254/template_combinations 200 { "total": 2, "subtotal": 2, "page": 1, "per_page": 20, "search": null, "sort": { "by": null, "order": null }, "results": [ { "created_at": "2019-09-11 14:41:58 UTC", "updated_at": "2019-09-11 14:41:58 UTC", "id": 298486374, "provisioning_template_id": 269958254, "provisioning_template_name": "MyString2", "hostgroup_id": 0, "hostgroup_name": null, "environment_id": null, "environment_name": null, "config_template_id": 269958254, "config_template_name": "MyString2" }, { "created_at": "2019-09-11 14:41:58 UTC", "updated_at": "2019-09-11 14:41:58 UTC", "id": 281110143, "provisioning_template_id": 269958254, "provisioning_template_name": "MyString2", "hostgroup_id": 636252244, "hostgroup_name": "Common", "environment_id": 334344675, "environment_name": "production", "config_template_id": 269958254, "config_template_name": "MyString2" } ] }
Param name | Description |
---|---|
location_id optional |
Scope by locations Validations:
|
organization_id optional |
Scope by organizations Validations:
|
config_template_id optional |
ID of config template Validations:
|
provisioning_template_id optional |
ID of config template Validations:
|
hostgroup_id optional |
ID of host group Validations:
|
environment_id optional |
ID of environment Validations:
|
DEPRECATED
POST /api/config_templates/269958254/template_combinations { "template_combination": { "environment_id": 334344675, "hostgroup_id": 866317115 } } 201 { "created_at": "2019-09-11 14:42:09 UTC", "updated_at": "2019-09-11 14:42:09 UTC", "id": 1018350796, "provisioning_template_id": 269958254, "provisioning_template_name": "MyString2", "hostgroup_id": 866317115, "hostgroup_name": "Unusual", "environment_id": 334344675, "environment_name": "production", "config_template_id": 269958254, "config_template_name": "MyString2" }
Param name | Description |
---|---|
location_id optional |
Scope by locations Validations:
|
organization_id optional |
Scope by organizations Validations:
|
config_template_id optional |
ID of config template Validations:
|
provisioning_template_id optional |
ID of config template Validations:
|
hostgroup_id optional |
ID of host group Validations:
|
environment_id optional |
ID of environment Validations:
|
template_combination required |
Validations:
|
template_combination[environment_id] optional , nil allowed |
environment id Validations:
|
template_combination[hostgroup_id] optional , nil allowed |
host group id Validations:
|
DEPRECATED
GET /api/config_templates/269958254-MyString2/template_combinations/298486374 200 { "created_at": "2019-09-11 14:41:58 UTC", "updated_at": "2019-09-11 14:41:58 UTC", "id": 298486374, "provisioning_template_id": 269958254, "provisioning_template_name": "MyString2", "hostgroup_id": 0, "hostgroup_name": null, "environment_id": null, "environment_name": null, "config_template_id": 269958254, "config_template_name": "MyString2" }
Param name | Description |
---|---|
location_id optional |
Scope by locations Validations:
|
organization_id optional |
Scope by organizations Validations:
|
config_template_id optional |
ID of config template Validations:
|
provisioning_template_id optional |
ID of config template Validations:
|
hostgroup_id optional |
ID of host group Validations:
|
environment_id optional |
ID of environment Validations:
|
id required |
Validations:
|
DEPRECATED
PUT /api/config_templates/269958254/template_combinations/298486374 { "template_combination": { "environment_id": 687036937, "hostgroup_id": 636252244 } } 200 { "created_at": "2019-09-11 14:41:58 UTC", "updated_at": "2019-09-11 14:42:09 UTC", "id": 298486374, "provisioning_template_id": 269958254, "provisioning_template_name": "MyString2", "hostgroup_id": 636252244, "hostgroup_name": "Common", "environment_id": 687036937, "environment_name": "testing", "config_template_id": 269958254, "config_template_name": "MyString2" }
Param name | Description |
---|---|
location_id optional |
Scope by locations Validations:
|
organization_id optional |
Scope by organizations Validations:
|
id required |
Validations:
|
config_template_id optional |
ID of config template Validations:
|
provisioning_template_id optional |
ID of config template Validations:
|
hostgroup_id optional |
ID of host group Validations:
|
environment_id optional |
ID of environment Validations:
|
template_combination required |
Validations:
|
template_combination[environment_id] optional , nil allowed |
environment id Validations:
|
template_combination[hostgroup_id] optional , nil allowed |
host group id Validations:
|
DELETE /api/template_combinations/298486374 { "config_template_id": 269958254, "template_combination": {} } 200 { "id": 298486374, "provisioning_template_id": 269958254, "hostgroup_id": 0, "environment_id": null, "created_at": "2019-09-11T14:41:58.544Z", "updated_at": "2019-09-11T14:41:58.544Z" }
Param name | Description |
---|---|
location_id optional |
Scope by locations Validations:
|
organization_id optional |
Scope by organizations Validations:
|
id required |
Validations:
|