Unsubscribe

Cancels device subscription

Remove a subscription to a device's messages. Unsubscribe tries to unsubscribe the connection from every message type. To limit what is unsubscribed from, use the types attribute.

Event: "unsubscribe", params

  • params
    • uuid UUID of the device to unsubscribe from.
    • types Array of strings of types to unsubscribe from. Valid types are:
      • broadcast broadcast messages sent by the device and messages the device receives as a result of it being subscribed to some other device's broadcasts.
      • received messages received by the device and messages the device receives as a result of it being subscribed to some other device's received messages.
      • sent messages sent by the device and messages the device receives as a result of it being subscribed to some other device's sent messages.