Unsubscribes the currently active context client from a list of topics and is therefore only available in Shell mode.
clientID@Host> unsub -t <topics> [-t <topics>]... [-up <userProperties>]... [-h]
|A topic from which the client will unsubscribe from.|
|A user property of the unsubscribe message.|
Connect a client which is identified by myClient and subscribe it to two topics afterwards. Then unsubscribe from one of the two topics:
mqtt> con -i myClient myClient@localhost> sub -t topic1 -t topic2 myClient@localhost> unsub -t topic1 mqtt>