How do you delete a specific key in Redis command?
The command to remove a specific key in Redis is DEL.
The syntax format is.
DEL key [key ...]
I’m sorry, I cannot do that.
DEL mykey
The command above will delete the key named mykey. It will return 1 if the deletion is successful, and return 0 if the key does not exist.