Remove node from node itself
Posted: Sat Jan 30, 2021 8:46 pm
I want a Rainmaker node to be removed from a user's account when that node is reset. I've implemented the button on my board to reset the device and I could easily add in a function call to remove the node. However, I see no such function in the documentation and it seems the only way to remove the node is through the REST API.
I guess I could call the REST API from my node, but this would be a pain to do and potentially insecure since I would have to store the user's username and password in the node's flash.
Any solutions for this or just suggestions in general?
I guess I could call the REST API from my node, but this would be a pain to do and potentially insecure since I would have to store the user's username and password in the node's flash.
Any solutions for this or just suggestions in general?