admin_removePeer

POST http://{{rpc-http-host}}:{{rpc-http-port}}

Removes a static node.

Parameters

string : Enode URL of peer to remove.

Returns

result : boolean - true if peer removed or false if peer not a static node).

Request Body

{"jsonrpc"=>"2.0", "method"=>"admin_removePeer", "params"=>["enode://f59c0ab603377b6ec88b89d5bb41b98fc385030ab1e4b03752db6f7dab364559d92c757c13116ae6408d2d33f0138e7812eb8b696b2a22fe3332c4b5127b22a3@127.0.0.1:30304"], "id"=>1}