Skip to main content
GET
/
service
/
{tenant_name}
/
wg_tunnel
/
get_one
/
{user_name}
/
{tunnel_id}
Get Wg Tunnel
curl --request GET \
  --url https://api.example.com/service/{tenant_name}/wg_tunnel/get_one/{user_name}/{tunnel_id} \
  --header 'Authorization: Bearer <token>'
{
  "public_key": "<string>",
  "tunnel_ip": "<string>",
  "tenant_name": "<string>",
  "name": "<string>",
  "user_name": "<string>",
  "tunnel_id": "<string>",
  "system_name": "<string>",
  "system_location": "<string>",
  "labels": {},
  "description": "<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

public_key
string
required
tunnel_ip
string
required
tenant_name
string | null
name
string | null
user_name
string | null
tunnel_id
string | null
system_name
string | null
system_location
string | null
labels
Labels · object
description
string | null