[{"label":"Latest (v1.0)","version":"latest"}]
nsx-vmc-policy

Delete L3VPN

Description

Delete the L3Vpn with the given id. This API is deprecated. Please use the following APIs instead:

  • DELETE /infra/tier-0s//locale-services//ipsec-vpn-services/ default/sessions/L3VPN_ to delete the associated IPSecVpnSession.
  • DELETE /infra/tier-0s//locale-services//ipsec-vpn-services/ default/local-endpoints/ to delete the associated IPSecVpnLocalEndpoint.
  • DELETE /infra/ipsec-vpn-tunnel-profiles/L3VPN_ to delete the associated IPSecVpnTunnelProfile.
  • DELETE /infra/ipsec-vpn-ike-profiles/L3VPN_ to delete the associated IPSecVpnIkeProfile.
  • DELETE /infra/ipsec-vpn-dpd-profiles/L3VPN_ to delete the associated IPSecVpnDpdProfile. If used, this deprecated API will result in the following objects being internally deleted:
  • IPSecVpnSession: /infra/tier-0s//locale-services// ipsec-vpn-services/default/sessions/L3VPN_.
  • IPSecVpnLocalEndpoint: /infra/tier-0s//locale-services// ipsec-vpn-services/default/local-endpoints/ when not used by other IPSecVpnSessions.
  • IPSecVpnTunnelProfile: /infra/ipsec-vpn-tunnel-profiles/L3VPN_.
  • IPSecVpnIkeProfile: /infra/ipsec-vpn-ike-profiles/L3VPN_.
  • IPSecVpnDpdProfile: /infra/ipsec-vpn-dpd-profiles/L3VPN_.

Request

Request

URL

URL


delete
https://nsxmanager.your.domain/policy/api/v1/infra/tier-0s/{tier-0-id}/locale-services/{locale-service-id}/l3vpns/{l3vpn-id}
Copy

Path Parameters

Path Parameters

string
tier-0-id Required

string
locale-service-id Required

string
l3vpn-id Required

Authentication

Authentication

This operation uses the following authentication methods.

Response

Response

200 OK

OK

Errors

Errors

400

Bad Request


403

Forbidden


404

Not Found


412

Precondition Failed


500

Internal Server Error


503

Service Unavailable

Code Samples

Code Samples

PowerCLI Client SDK Example

Invoke-DeleteL3Vpn -tier0Id -localeServiceId -l3vpnId

cURL Command

curl -X DELETE https://nsxmanager.your.domain/policy/api/v1/infra/tier-0s/{tier-0-id}/locale-services/{locale-service-id}/l3vpns/{l3vpn-id}
Vendor Extensions

Vendor Extensions

This operation contains the following vendor extensions defined in the spec:
x-vmw-doc-deprecated: null
x-vmw-doc-operation: delete-l3vpn
x-vmw-nsx-module: PolicyL3Vpn


Feedback

Was this page helpful?