> ## Documentation Index
> Fetch the complete documentation index at: https://upstash-context7-agent-09df3c1c-9c05-4093-9d6e-e4e2644ee98c-5.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# DEL

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

## Arguments

<ParamField body="keys" type="...string[]" required>
  One or more keys to remove.
</ParamField>

## Response

<ResponseField type="integer" required>
  The number of keys that were removed.
</ResponseField>

<RequestExample>
  ```ts Basic theme={null}
  await redis.del("key1", "key2");
  ```

  ```ts Array theme={null}
  // in case you have an array of keys
  const keys = ["key1", "key2"];
  await redis.del(...keys)

  ```
</RequestExample>


## Related topics

- [DEL](/redis/commands/generic/del.md)
- [JSON.DEL](/redis/sdks/ts/commands/json/del.md)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.