v1

latestOpenAPI 3.0.2Apache 2.02026-07-17292234.0 KB
Admin
Proxy

Connect to a proxy

Connect to a proxy. When no remote is provided, the node attempts to connect to the best known proxy. When a remote is provided, it attempts to connect to that address.

post/api/v1/admin/proxy

Request body

remotestring nullable

Optional remote socket address of the proxy to connect to. If omitted, the node will attempt to connect to the best known proxy.

Example request

{
  "remote": "[2a01:4f8:212:fa6::2]:9651"
}

Response

Connected to proxy

string required

Network socket address in the form host:port or [IPv6]:port

Example response

"[2a01:4f8:212:fa6::2]:9651"