content/commands/ft.cursor-del.md
Delete a cursor
is index name.
</details> <details open> <summary><code>cursor_id</code></summary>is id of the cursor.
</details>{{< highlight bash >}} redis> FT.CURSOR DEL idx 342459320 OK {{< / highlight >}}
Check that the cursor is deleted.
{{< highlight bash >}} 127.0.0.1:6379> FT.CURSOR DEL idx 342459320 (error) Cursor does not exist {{< / highlight >}}
</details>| Redis Software | Redis Cloud Flexible & Annual | Redis Cloud Free & Fixed | <span style="min-width: 9em; display: table-cell">Notes</span> | |:----------------------|:-----------------|:-----------------|:------| | <span title="Supported">✅ Supported</span> | <span title="Supported">✅ Supported</span> | <span title="Supported">✅ Supported</nobr></span> | |
{{< multitabs id="ft-cursor-del-return-info" tab1="RESP2" tab2="RESP3" >}}
One of the following:
OK if executed correctly.-tab-sep-
One of the following:
OK if executed correctly.{{< /multitabs >}}
[FT.CURSOR READ]({{< relref "commands/ft.cursor-read/" >}})
[RediSearch]({{< relref "/develop/ai/search-and-query/" >}})