Create a new OpenVPN tunnel

Prev Next
Post
/v2.3/networks/{networkId}/tunnels/openvpn

Required permissions: ["network:write]

Security
HTTP
Type bearer
Path parameters
networkId
stringRequired
Body parameters
object
regionID
string Required

Region ID

gatewayID
string Required

Gateway ID

tunnelName
string Required

The name of the tunnel

Min length3
Max length15
Pattern^[a-zA-Z0-9]*$
Responses
202

Request accepted

object
statusUrl
string
samplingTime
integer
secretAccessKey
string

Secret access key to download OpenVPN configuration file. This key will be shown only once in the response for security reasons. Make sure to store it securely.

401

Unauthorized

object
id
string
message
string
402

Insufficient licenses

object
id
string
message
string
403

Forbidden

object
id
string
message
string
404

Resource not found

object
id
string
message
string
422

Unprocessable entity

object
id
string
message
string