UNSUBSCRIBE

This page documents the preview (v2.21) version. Preview includes features under active development and is for development and testing only. For production, use the stable (v2024.1) version.

Synopsis

UNSUBSCRIBE [channel [channel ...]]

This command unsubscribes the client from the specified channel(s).

  • If no channel is specified, the client is unsubscribed from all channels that it has subscribed to.

See also

pubsub, publish, subscribe, unsubscribe, psubscribe, punsubscribe