Skip to content

Download VPN configuration with POST

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

Compatibility endpoint that downloads the VPN configuration archive using POST.

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