Params

Param Name Description
config_template
Required

Value:

Must be a Hash

config_template[name]
Required

template name


Value:

Must be String

config_template[template]
Required

Value:

Must be String

config_template[snippet]
Optional , <span class="translation_missing" title="translation missing: gl.apipie.nil_allowed">Nil Allowed</span>

Value:

Must be 'true' or 'false'

config_template[audit_comment]
Optional , <span class="translation_missing" title="translation missing: gl.apipie.nil_allowed">Nil Allowed</span>

Value:

Must be String

config_template[template_kind_id]
Optional , <span class="translation_missing" title="translation missing: gl.apipie.nil_allowed">Nil Allowed</span>

not relevant for snippet


Value:

Must be a number.

config_template[template_combinations_attributes]
Optional , <span class="translation_missing" title="translation missing: gl.apipie.nil_allowed">Nil Allowed</span>

Array of template combinations (hostgroup_id, environment_id)


Value:

Must be an array of any type

config_template[operatingsystem_ids]
Optional , <span class="translation_missing" title="translation missing: gl.apipie.nil_allowed">Nil Allowed</span>

Array of operating system IDs to associate with the template


Value:

Must be an array of any type

config_template[locked]
Optional , <span class="translation_missing" title="translation missing: gl.apipie.nil_allowed">Nil Allowed</span>

Whether or not the template is locked for editing


Value:

Must be 'true' or 'false'