Article summary
Did you find this summary helpful?
Thank you for your feedback!
Post
/v2.2/networks/{networkId}/tunnels/wireguard
Required permissions: ["network:write"]
Security
HTTP
Type bearer
Path parameters
networkId
stringRequired
Body parameters
object
remoteEndpoint
string (ipv4) Required
remoteSubnets
Array of string Required
Min length1
string
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
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
Was this article helpful?