Method Name
unsubscribe
unsubscribeUnsubscribe from a list of channels, or all channels.
Parameters
| channelsarray of strings A list of channels names to unsubscribe from. If not provided, unsubscribe from all channels. |
Response
| idstring or integerrequired |
| resultobjectrequired |
| result.remaining_subscriptionsarray of stringsrequired A list of channels still subscribed to after the unsubscribe operation. |
| result.statusobjectrequired A mapping of channel ⭢ status.Successfully unsubscribed channels will have status ok. |
Example
{request_example_shell}{request_example_javascript}{request_example_python}The above command returns JSON structured like this:
{response_example_json}