Skip to content
masterclass Buddy

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.

Subscribe
  • PSUBSCRIBE
  • PUBLISH
  • PUBSUB CHANNELS
  • PUBSUB NUMPAT
  • PUBSUB NUMSUB
  • PUBSUB SHARDCHANNELS
  • PUBSUB SHARDNUMSUB
  • PUNSUBSCRIBE

Source: UNSUBSCRIBE | Docs. Checked 2026-11-03.