Skip to main content
DELETE
/
service
/
{tenant_name}
/
wg_tunnel
/
{user_name}
/
{tunnel_id}
Delete a VPN app tunnel
curl --request DELETE \
  --url https://api.example.com/service/{tenant_name}/wg_tunnel/{user_name}/{tunnel_id} \
  --header 'Authorization: Bearer <token>'
{
  "id": "<string>",
  "created_at": "2023-11-07T05:31:56Z",
  "updated_at": "2023-11-07T05:31:56Z",
  "status": "received",
  "extra_details": {}
}

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

id
string
required
created_at
string<date-time>
required
updated_at
string<date-time>
required
status
enum<string>
required
Available options:
received,
in_progress,
success,
failed,
cancelled
extra_details
Extra Details · object