---
title: "UNSUBSCRIBE"
url: "https://docs.yugabyte.com/stable/yedis/api/unsubscribe/"
---

# UNSUBSCRIBE

## 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`](/stable/yedis/api/pubsub/ "pubsub"), [`publish`](/stable/yedis/api/publish/ "publish"), [`subscribe`](/stable/yedis/api/subscribe/ "subscribe"), [`unsubscribe`](/stable/yedis/api/unsubscribe/ "unsubscribe"), [`psubscribe`](/stable/yedis/api/psubscribe/ "psubscribe"), [`punsubscribe`](/stable/yedis/api/punsubscribe/ "punsubscribe")
