Skip to content

Download VPN configuration

GET
/ports/{id}/vpn
curl --request GET \
--url https://api.ltesocks.io/v2/ports/example/vpn \
--header 'Authorization: Bearer <token>'

Downloads the VPN configuration archive associated with a port.

id
required
string

Account-scoped port identifier.

Successful operation

The bearer token is missing, invalid, or no longer active.

Media typeapplication/json
object
error

Error text representation

string
Example
{
"error": "example error"
}

The configured request limit has been exceeded.

Media typeapplication/json
object
error

Error text representation

string
Example
{
"error": "example error"
}

Error

Media typeapplication/zip
object
error

Error text representation

string
Example
example error