# FT.ALIASUPDATE Add an alias to an index. If the alias is already associated with another index, FT.ALIASUPDATE removes the alias association with the previous index. [Examples](#examples) ## Required arguments
alias index is alias to be added to an index.
## Return FT.ALIASUPDATE returns a simple string reply `OK` if executed correctly, or an error reply otherwise. ## Examples
Update an index alias Update the alias of an index. 127.0.0.1:6379> FT.ALIASUPDATE alias idx OK ## See also [`FT.ALIASADD`](https://redis.io/docs/latestcommands/ft.aliasadd/) | [`FT.ALIASDEL`](https://redis.io/docs/latestcommands/ft.aliasdel/) ## Related topics [RediSearch](https://redis.io/docs/latest/develop/interact/search-and-query/)