Use the PATCH endpoint of the /indexes route to rename an index
uid
. This guide changes the name of an index called INDEX_A
.
Also choose the new name you wish to assign the index. This guide uses INDEX_B
for the new name of the index.
/indexes/{index_uid}
routePATCH
request targeting the index you want to rename:
Replace INDEX_A
with the current name of your index, and INDEX_B
with its new name.