Deletes the node using address (only one who added node can delete it)
CLI Example
Command syntax:
node del
-net <net_name>
-addr <node_address>
Options:
-net - name of the Cellframe Network. The list of networks can be found in the <Config_dir> \ etc \ network folder or received by The Cellframe-Node-CLI using command - net list
-addr - address of the node
Example:
Command:
cellframe-node-cli node del
-net foobar
-addr C96C::1FC9::981C::8248
Response:
node deleted
JSON-RPC Example
Command:
curl --unix-socket /opt/cellframe-node/var/run/node_cli
-X POST http://localhost/connect
-d '{"method":"node", "params":["node;del;-net;foobar;-addr;C96C::1FC9::981C::8248"], "id":"1"}'
Response:
{
"type": 0,
"result": "node deleted",
"errors": null,
"id": 1
}