kibana/docs/api/upgrade-assistant/cancel_reindex.asciidoc
Kaarina Tungseth fda3196611
[DOCS] Updates API requests and examples (#60695)
* [DOCS] Updates API requests and examples

* Review comments
2020-03-20 16:33:20 -05:00

33 lines
790 B
Plaintext

[[cancel-reindex]]
=== Cancel reindex API
++++
<titleabbrev>Cancel reindex</titleabbrev>
++++
experimental[] Cancel reindexes that are waiting for the {es} reindex task to complete. For example, `lastCompletedStep` set to `40`.
Cancel reindexes that are waiting for the Elasticsearch reindex task to complete. For example, `lastCompletedStep` set to `40`.
[[cancel-reindex-request]]
==== Request
`POST <kibana host>:<port>/api/upgrade_assistant/reindex/myIndex/cancel`
[[cancel-reindex-response-codes]]
==== Response codes
`200`::
Indicates a successful call.
[[cancel-reindex-status-example]]
==== Example
The API returns the following:
[source,sh]
--------------------------------------------------
{
"acknowledged": true
}
--------------------------------------------------