UNLINK

Removes a key from the keyspace.

Keys & expiration · Example verified

Syntax covered here

UNLINK key

The receipt confirms removal of an existing key; it does not establish background memory-reclamation timing.

Tested example & replies

Requests below run in order against an empty database. Each connection authenticates with the fixture password first. Quoted values are strings; null is a nil reply; arrays preserve RESP order.

# connection: default
> SET sample value
"OK"
# connection: default
> UNLINK sample
1