I am able to read data from solarncm but I am not able to delete the node using the following code
self.node_uri = self.con.query("SELECT IPAddress, Caption, Uri FROM Orion.Nodes WHERE IPAddress = @ip_addr", ip_addr = ip_addr)
print (self.node_uri)
if self.node_uri is not False:
self.con.delete(self.node_uri['results'][0]['Uri']) #not able to delete node
Could somebody please help?