Update
<iq to="localhost" type="set" id="uuid V1 arbitrary id" xmlns:stream="http://etherx.jabber.org/streams" from="[email protected]/TOKEN">
<request>
<metadata>
<jobType>UpdateDevice</jobType>
<toUuid>The uuid of the device to update</toUuid>
</metadata>
<raw-data>{ "$set": {"type" : "device:generic"} }</raw-data>
</request>
</iq>
{
"uuid": "some-new-uuid",
"token": "some-new-token",
"type": "device:generic"
}
Updated less than a minute ago