[#CConnman-DisconnectNode-0f] = xref:CConnman.adoc[CConnman]::DisconnectNode :relfileprefix: ../ :mrdocs: Disconnect the peer with the given id, returning whether it was found. == Synopsis Declared in `<net.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- [[requires_capability(0x7f2e2b74a068), requires_capability(0x7f2e28942d78), requires_capability(0x7f2e234d1f58), requires_capability(0x7f2e2737e6f8), requires_capability(0x7f2e235efd88), requires_capability(0x7f2e2a34be78), requires_capability(0x7f2e219f8c48), requires_capability(0x7f2e21c83b08), requires_capability(0x7f2e1aa36668), requires_capability(0x7f2e376b8748), requires_capability(0x7f2e433ce2d8)]] bool DisconnectNode(xref:NodeId-08.adoc[NodeId] id); ---- == Return Value true if the peer was found and disconnected. == Parameters [cols="1,4"] |=== | Name| Description | *id* | the id of the peer to disconnect. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#