anchor.diff:  [[clear-cache-api-path-params]]
   ==== {api-path-parms-title}
   
  -include::{es-repo-dir}/rest-api/common-parms.asciidoc[tag=index]
  +`<target>`::
  +(Optional, string)
  +Comma-separated list of data streams, indices, and index aliases used to limit
  +the request. Wildcard expressions (`*`) are supported.
  ++
  +To target all data streams and indices in a cluster, omit this parameter or use
  +`_all` or `*`.
   
   
   [[clear-cache-api-query-params]]
  
positive.code: <titleabbrev>Clear cache</titleabbrev>
  ++++
  
  Clears caches for one or more indices.
  
  [source,console]
  ----
  
negative.code: [[clear-cache-api-request]]
  ==== {api-request-title}
  
  `POST /<target>/_cache/clear`
  
  `POST /_cache/clear`
  
  