/api/v0/bootstrap/rm

Remove peers from the bootstrap list.

Arguments

  • arg [string]: A peer to add to the bootstrap list (in the format '<multiaddr>/<peerID>') Required: no.

  • all [bool]: Remove all bootstrap peers. (Deprecated, use 'all' subcommand). Required: no.

Response

On success, the call to this endpoint will return with 200 and the following body:

{
  "Peers": [
    "<string>"
  ]
}

cURL Example

curl -X POST "http://127.0.0.1:5001/api/v0/bootstrap/rm?arg=<peer>&all=<value>"

Last updated