> ## Documentation Index
> Fetch the complete documentation index at: https://upstash-dx-3081-agentkit-tanstack-ai-backends.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# UNLINK

> Removes the specified keys. A key is ignored if it does not exist.

## Arguments

<ParamField body="keys" type="*List[str]" required>
  One or more keys to unlink.
</ParamField>

## Response

<ResponseField type="int" required>
  The number of keys that were unlinked.
</ResponseField>

<RequestExample>
  ```py Basic theme={null}
  assert redis.unlink("key1", "key2", "key3") == 3
  ```
</RequestExample>


## Related topics

- [UNLINK](/redis/commands/generic/unlink.md)
- [DEL](/redis/commands/generic/del.md)
- [VECTOR.DROP](/redis/commands/vector/vector-drop.md)
- [Searching Streams](/redis/search/streams.md)
