Cosmic Admin API Reference

resetVpnConnection

Reset site to site vpn connection

Request parameters

Parameter NameDescriptionRequired
idid of vpn connectiontrue
accountan optional account for connection. Must be used with domainId.false
domainidan optional domainId for connection. If the account parameter is used, domainId must also be used.false

Response Tags

Response NameDescription
idthe connection ID
accountthe owner
cidrlistguest cidr list of the customer gateway
createdthe date and time the host was created
domainthe domain name of the owner
domainidthe domain id of the owner
dpdif DPD is enabled for customer gateway
esplifetimeLifetime of ESP SA of customer gateway
esppolicyESP policy of the customer gateway
forceencapif Force NAT Encapsulation is enabled for customer gateway
fordisplayis connection for display to the regular user
gatewaypublic ip address id of the customer gateway
ikelifetimeLifetime of IKE SA of customer gateway
ikepolicyIKE policy of the customer gateway
ipsecpskIPsec Preshared-Key of the customer gateway
passiveState of vpn connection
projectthe project name
projectidthe project id
publicipthe public IP address
removedthe date and time the host was removed
s2scustomergatewayidthe customer gateway ID
s2svpngatewayidthe vpn gateway ID
stateState of vpn connection