Redis · Command
UNSUBSCRIBE
UNSUBSCRIBE stops a Redis client from listening to channel messages. Give channel names to remove selected subscriptions, or give none to remove all of them.
Last updated
- Since
- 2.0.0
Syntax
UNSUBSCRIBE [channel [channel ...]]In-depth API docs are only for subscribers: parameters, examples, common mistakes and interview practice.
SubscribeRelated
PSUBSCRIBEPUBLISHPUBSUB CHANNELSPUBSUB NUMPATPUBSUB NUMSUBPUBSUB SHARDCHANNELSPUBSUB SHARDNUMSUBPUNSUBSCRIBE