verify devices DeleteDomain success with DomainDeleted message
Hello everyone,
after adding domain in devices, I want also be able to delete the domain and verify delete success.
The domain id is retrieved with GetDomains. After this, the DeleteDomain message is sent. A DeleteDomainResult is always received without error indication, no matter if delete was successful or not.
SEND> {"mt":"DeleteDomain","id":187,"src":"DeleteDomain"}
RECV< {"mt":"DeleteDomainResult","src":"DeleteDomain"}
In browser console log I see a DomainDeleted messages from devices, that I don’t receive in my implementation. E.g.: {"mt":"DomainDeleted","id":187}
This would be a relevant message to verify success. Do I have to subscribe to something in order to receive this message?
The workaround would be, to send GetDomains again, but hopefully this is just something simple, that I have missed.
kind regards
Uwe