Skip to main content
GET
/
service
/
{tenant_name}
/
wg_tunnel
/
get_conf
/
{user_name}
/
{tunnel_id}
Get Tunnel Wg Conf
curl --request GET \
  --url https://api.example.com/service/{tenant_name}/wg_tunnel/get_conf/{user_name}/{tunnel_id} \
  --header 'Authorization: Bearer <token>'
{
  "tunnel_id": "<string>",
  "tunnel_ip": "<string>",
  "tunnel_private_key": "<string>",
  "tunnel_DNS": "<string>",
  "public_key": "<string>",
  "psk": "<string>",
  "allowed_ips": "<string>",
  "untrusted_allowed_ips": "<string>",
  "remote_ip": "<string>",
  "remote_port": "<string>",
  "system_location": "<string>"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Headers

user-agent
string | null

Path Parameters

tunnel_id
string
required
user_name
string | null
required

Query Parameters

username
string
required
system_name
string | null

Response

Successful Response

tunnel_id
string
required
tunnel_ip
string
required
tunnel_private_key
string
required
tunnel_DNS
string
required
public_key
string
required
psk
string
required
allowed_ips
string
required
untrusted_allowed_ips
string
required
remote_ip
string
required
remote_port
string
required
system_location
string | null