Params

Param name Description
id
required

Value:

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

config_template
required

Value:

Must be a Hash

config_template[name]
optional

template name


Value:

Must be String

config_template[template]
optional

Value:

Must be String

config_template[snippet]
optional , nil allowed

Value:

Must be 'true' or 'false'

config_template[audit_comment]
optional , nil allowed

Value:

Must be String

config_template[template_kind_id]
optional , nil allowed

not relevant for snippet


Value:

Must be a number.

config_template[template_combinations_attributes]
optional , nil allowed

Array of template combinations (hostgroup_id, environment_id)


Value:

Must be an array of any type

config_template[operatingsystem_ids]
optional , nil allowed

Array of operating system IDs to associate with the template


Value:

Must be an array of any type

config_template[locked]
optional , nil allowed

Whether or not the template is locked for editing


Value:

Must be 'true' or 'false'