Reindex legacy backing indices

  • POST /_migration/reindex
Auth

Reindex all legacy backing indices for a data stream. This operation occurs in a persistent task. The persistent task ID is returned immediately and the reindexing work is completed in that task.

About reindexing data streams

Request body

mode enum required

Reindex mode. Currently only 'upgrade' is supported.

Values: upgrade
source object required

The source index or data stream (only data streams are currently supported).

index string required

Response

application/json
acknowledged boolean required

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