Skip to main content

Arguments

keys
...string[]
required
One or more keys to unlink.

Response

The number of keys that were unlinked.
await redis.unlink("key1", "key2");
// in case you have an array of keys
const keys = ["key1", "key2"];
await redis.unlink(...keys)