anchor.diff:  (Required, array of strings)
   Array of wildcard (`*`) expressions
   used to match the names of data streams and indices during creation.
  -
  -include::{docdir}/rest-api/common-parms.asciidoc[tag=aliases]
  -+
  -NOTE: You cannot add data streams to an index alias.
   
   [xpack]#`data_stream`#::
   (Optional, object)
  
positive.code: 
  include::{docdir}/rest-api/common-parms.asciidoc[tag=master-timeout]
  
  
  [[put-index-template-api-request-body]]
  ==== {api-request-body-title}
  
  
negative.code: Data streams require a matching index template with a `data_stream` object.
  See <<create-a-data-stream-template>>.
  
  `template`::
  (Optional, object)
  Template to be applied. It may optionally include an `aliases`, `mappings`, or
  `settings` configuration.
  +
  .Properties of `template`
  [%collapsible%open]
  ====
  include::{docdir}/rest-api/common-parms.asciidoc[tag=aliases]
  +
  NOTE: You cannot add data streams to an index alias.
  
  include::{docdir}/rest-api/common-parms.asciidoc[tag=mappings]
  
  include::{docdir}/rest-api/common-parms.asciidoc[tag=settings]
  ====
  
  `composed_of`::
  (Optional, array of strings)
  