disconnectnode

network

v0.12.1

disconnectnode "node" 

Immediately disconnects from the specified node.

Arguments:
1. "node" (string, required) The node (see getpeerinfo for nodes)

Examples:
> bitcoin-cli disconnectnode "192.168.0.6:8333"
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "disconnectnode", "params": ["192.168.0.6:8333"] }' -H 'content-type: text/plain;' http://127.0.0.1:8332/
Don't trust. Verify. Docs extracted from src/rpcnet.cpp#L223-L234.