The reindex data stream API is used to upgrade the backing indices of a data stream to the most recent major version.