[#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(0x7ff36f7827c8), requires_capability(0x7ff36f469038), requires_capability(0x7ff37f4085f8), requires_capability(0x7ff3775653c8), requires_capability(0x7ff37b6a08c8), requires_capability(0x7ff37e1c84f8), requires_capability(0x7ff379a7ea48), requires_capability(0x7ff36f4a5a88), requires_capability(0x7ff37bc166e8), requires_capability(0x7ff3814a66b8), requires_capability(0x7ff3666cd738)]] 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]#