This function can be used to delete a node from ThingsDB.
Before deleting a node, the node must be offline. As long is the node is active, you are not allowed to delete the node. See shutdown for shutting down a node by using a query.
This function generates a change.
del_node(node_id)
Argument | Type | Description |
---|---|---|
node_id | int (required) | Id of the node to delete. |
Returns nil
when successful.