--- acl_categories: - '@search' arguments: - name: alias type: string categories: - docs - develop - stack - oss - rs - rc - oss - kubernetes - clients complexity: O(1) description: Deletes an alias from the index group: search hidden: false linkTitle: FT.ALIASDEL module: Search railroad_diagram: /images/railroad/ft.aliasdel.svg since: 1.0.0 stack_path: docs/interact/search-and-query summary: Deletes an alias from the index syntax_fmt: FT.ALIASDEL alias title: FT.ALIASDEL --- Remove an alias from an index [Examples](#examples) ## Required arguments
alias is index alias to be removed.
## Examples
Remove an alias from an index Remove an alias from an index. {{< highlight bash >}} 127.0.0.1:6379> FT.ALIASDEL alias OK {{< / highlight >}}
## Redis Software and Redis Cloud compatibility | Redis
Software | Redis Cloud
Flexible & Annual | Redis Cloud
Free & Fixed | Notes | |:----------------------|:-----------------|:-----------------|:------| | ✅ Supported | ✅ Supported | ✅ Supported | | ## Return information {{< multitabs id="ft-aliasdel-return-info" tab1="RESP2" tab2="RESP3" >}} One of the following: * [Simple string reply]({{< relref "/develop/reference/protocol-spec#simple-strings" >}}): `OK` if executed correctly. * [Simple error reply]({{< relref "/develop/reference/protocol-spec#simple-errors" >}}) in these cases: alias does not exist. -tab-sep- One of the following: * [Simple string reply]({{< relref "/develop/reference/protocol-spec#simple-strings" >}}): `OK` if executed correctly. * [Simple error reply]({{< relref "/develop/reference/protocol-spec#simple-errors" >}}) in these cases: alias does not exist. {{< /multitabs >}} ## See also [`FT.ALIASADD`]({{< relref "commands/ft.aliasadd/" >}}) | [`FT.ALIASUPDATE`]({{< relref "commands/ft.aliasupdate/" >}})