*** id: 69a7fac3-64f7-4036-a994-29874ac0203f title: unsubscribe slug: /node/reference/chat/client/unsubscribe description: unsubscribe method for the Client class. max-toc-depth: 3 ---------------- ### unsubscribe * **unsubscribe**(`channels`): `Promise` List of channels from which you want to unsubscribe. #### Parameters | Name | Type | Description | | :--------- | :--------------------- | :--------------------------------------------------------------------------------------------------------- | | `channels` | `string` \| `string[]` | The channels to unsubscribe from, either in the form of a string (for one channel) or an array of strings. | #### Returns `Promise` #### Example ```js await chatClient.unsubscribe("my-channel"); await chatClient.unsubscribe(["chan-2", "chan-3"]); ```