Requirements
- A Meilisearch project with at least one index
- A command-line terminal
Choose the target index and its new name
Decide which index you want to rename and keep note of itsuid. 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.
Query the /indexes/{index_uid} route
Send a PATCH request targeting the index you want to rename:
INDEX_A with the current name of your index, and INDEX_B with its new name.