Article summary
Did you find this summary helpful?
Thank you for your feedback!
Get
/v2.1/networks/{networkId}/tunnels/openvpn/{tunnelId}
Required permissions: ["network:read"]
Security
HTTP
Type bearer
Path parameters
networkId
stringRequired
tunnelId
stringRequired
Responses
200
Success
object
regionID
string
Region ID
gatewayID
string
Gateway ID
tunnelName
string
The name of the tunnel
Min length3
Max length15
Pattern^[a-zA-Z0-9]*$
createdAt
string (date-time)
The date when this record was created.
updatedAt
string (date-time)
The date of last update of the record.
401
Unauthorized
object
id
string
message
string
403
Forbidden
object
id
string
message
string
404
Resource not found
object
id
string
message
string
Response
application/json
Click Try It! to start a request and see the response here!
Code Samples
x
curl --request GET \
--url https://virtserver.swaggerhub.com/perimeter81/public-api-yaml/1.0.0/v2.1/networks/%7BnetworkId%7D/tunnels/openvpn/%7BtunnelId%7D \
--header 'Authorization: Bearer REPLACE_BEARER_TOKEN' \
--header 'accept: application/json'
Was this article helpful?
Response
application/json
Click Try It! to start a request and see the response here!
Code Samples
xxxxxxxxxx
curl --request GET \
--url https://virtserver.swaggerhub.com/perimeter81/public-api-yaml/1.0.0/v2.1/networks/%7BnetworkId%7D/tunnels/openvpn/%7BtunnelId%7D \
--header 'Authorization: Bearer REPLACE_BEARER_TOKEN' \
--header 'accept: application/json'