Delete L3 Vpn

Delete L3 Vpn

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
URI
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
string
tier-0-id
Required

tier-0-id

string
locale-service-id
Required

locale-service-id

string
l3vpn-id
Required

l3vpn-id


Authentication
This operation uses the following authentication methods.
Responses
200

OK

Operation doesn't return any data structure

400
Returns BadRequest of type(s) application/json
This response body class contains all of the following: RelatedApiError , InlineApiError1
{
    "details": "string",
    "error_code": 0,
    "error_message": "string",
    "module_name": "string",
    "related_errors": [
        {
            "details": "string",
            "error_code": 0,
            "error_message": "string",
            "module_name": "string"
        }
    ]
}

403
Returns Forbidden of type(s) application/json
This response body class contains all of the following: RelatedApiError , InlineApiError1
{
    "details": "string",
    "error_code": 0,
    "error_message": "string",
    "module_name": "string",
    "related_errors": [
        {
            "details": "string",
            "error_code": 0,
            "error_message": "string",
            "module_name": "string"
        }
    ]
}

404
Returns NotFound of type(s) application/json
This response body class contains all of the following: RelatedApiError , InlineApiError1
{
    "details": "string",
    "error_code": 0,
    "error_message": "string",
    "module_name": "string",
    "related_errors": [
        {
            "details": "string",
            "error_code": 0,
            "error_message": "string",
            "module_name": "string"
        }
    ]
}

412
Returns PreconditionFailed of type(s) application/json
This response body class contains all of the following: RelatedApiError , InlineApiError1
{
    "details": "string",
    "error_code": 0,
    "error_message": "string",
    "module_name": "string",
    "related_errors": [
        {
            "details": "string",
            "error_code": 0,
            "error_message": "string",
            "module_name": "string"
        }
    ]
}

500
Returns InternalServerError of type(s) application/json
This response body class contains all of the following: RelatedApiError , InlineApiError1
{
    "details": "string",
    "error_code": 0,
    "error_message": "string",
    "module_name": "string",
    "related_errors": [
        {
            "details": "string",
            "error_code": 0,
            "error_message": "string",
            "module_name": "string"
        }
    ]
}

503
Returns ServiceUnavailable of type(s) application/json
This response body class contains all of the following: RelatedApiError , InlineApiError1
{
    "details": "string",
    "error_code": 0,
    "error_message": "string",
    "module_name": "string",
    "related_errors": [
        {
            "details": "string",
            "error_code": 0,
            "error_message": "string",
            "module_name": "string"
        }
    ]
}