Disconnect

disconnect

post

Initiate disconnection from a specified peer.

Body
endpointstringRequired

the endpoint to disconnect from, expressed as either IP address or URL

Responses
application/json
stringOptional

"connection removed" or "no known connection for host"

post
POST /v1/net/disconnect HTTP/1.1
Host: eos.nownodes.io
Content-Type: application/json
Accept: */*
Content-Length: 19

{
  "endpoint": "text"
}
200

OK

text