Difference between revisions of "POST / close"

From wikieduonline
Jump to navigation Jump to search
 
(5 intermediate revisions by 3 users not shown)
Line 2: Line 2:
 
  /your_index/_close
 
  /your_index/_close
 
  {"acknowledged":true,"shards_acknowledged":true,"indices":{"your-index-name":{"closed":true}}}
 
  {"acknowledged":true,"shards_acknowledged":true,"indices":{"your-index-name":{"closed":true}}}
 +
 +
{"error":{"root_cause":[{"type":"parse_exception","reason":"request body is required"}],"type":"parse_exception","reason":"request body is required"},"status":400}
 +
 +
 +
{"acknowledged":true,"shards_acknowledged":true,"indices":{"your-index":{"closed":true}}}
 +
  
 
[[Index]]
 
[[Index]]
Line 7: Line 13:
 
  [[/_cat/indices]]
 
  [[/_cat/indices]]
 
  [[/_restore]]
 
  [[/_restore]]
 +
 +
 +
== Realted ==
 +
* <code>[[curl --header]]</code>
 +
{{cat API}}
  
 
== See also ==
 
== See also ==
 
* {{Elasticsearch}}
 
* {{Elasticsearch}}
 +
 +
 +
[[Category:Elasticsearch]]

Latest revision as of 20:11, 20 September 2022

Advertising: