Examples

PUT /api/provisioning_templates/269958254/template_combinations/298486374
{
  "template_combination": {
    "environment_id": 687036937,
    "hostgroup_id": 636252244
  }
}
200
{
  "created_at": "2021-05-19 07:19:25 UTC",
  "updated_at": "2021-05-19 07:19:34 UTC",
  "id": 298486374,
  "provisioning_template_id": 269958254,
  "provisioning_template_name": "MyString2",
  "hostgroup_id": 636252244,
  "hostgroup_name": "Common",
  "environment_id": 687036937,
  "environment_name": "testing"
}

Params

Param name Description
location_id
optional

Set the current location context for the request

Validations:

  • Must be a Integer

organization_id
optional

Set the current organization context for the request

Validations:

  • Must be a Integer

id
required

Validations:

  • Must be an identifier, string from 1 to 128 characters containing only alphanumeric characters, space, underscore(_), hypen(-) with no leading or trailing space.

provisioning_template_id
optional

ID of config template

Validations:

  • Must be a String

hostgroup_id
optional

ID of host group

Validations:

  • Must be a String

environment_id
optional

ID of environment - DEPRECATED will have no effect

Validations:

  • Must be a String

template_combination
required

Validations:

  • Must be a Hash

template_combination[environment_id]
optional , nil allowed

environment id

Validations:

  • Must be a number.

template_combination[hostgroup_id]
optional , nil allowed

host group id

Validations:

  • Must be a number.