Skip to content

Latest commit

 

History

History
28 lines (16 loc) · 678 Bytes

disconnect.md

File metadata and controls

28 lines (16 loc) · 678 Bytes

< EON API Documentation

node/disconnect

Force the node to disconnect from a specific peer

Parameters

Name Type Required Description
host string yes Host to connect
port int yes Port

Example request

 curl -sX POST 'http://127.0.0.1:9085/node/disconnect' -H 'Content-Type: application/json' -H 'accept: application/json' -d '{"host":"myhost.com", "port": 8090}'  

Example response

{
    "result" : {
        "disconnectedFrom" : "143.42.26.149:5674"
    }
 }