Cancel a migration reindex operation Technical preview; Added in 8.18.0

POST /_migration/reindex/{index}/_cancel

Cancel a migration reindex attempt for a data stream or index.

Path parameters

  • index string | array[string] Required

    The index or data stream name

Responses

  • 200 application/json
    Hide response attribute Show response attribute object
    • acknowledged boolean Required

      For a successful response, this value is always true. On failure, an exception is returned instead.

POST /_migration/reindex/{index}/_cancel
POST /_migration/reindex/my-data-stream/_cancel
curl \
 --request POST 'http://api.example.com/_migration/reindex/{index}/_cancel'

Documentation preview

This is a preview of your version @2025-06-09 which is not yet released.