disconnectnode

Strictly one out of 'address' and 'nodeid' can be provided to identify the node.

To disconnect by nodeid, either set 'address' to the empty string, or call using the named 'nodeid' argument only.

Argument #1-address

Type: string, Optional
Default=fallback to nodeid

Description: The IP address/port of the node

Argument #2-nodeid

Type: number (int), Optional
Default=fallback to address

Description: The node ID (see getpeerinfo for node IDs)

Result

  null    (json null)