Delete a VPN gateway.

Note You cannot delete a VPN gateway associated with an IPsec connection.

Request parameters

Name Type Required Description
Action String Yes

The action to perform. Valid value:


RegionId String Yes

The region of the VPN gateway.

You can obtain the region ID by calling the DescribeRegions API.

ClientToken String No

A client token used to guarantee the idempotence of requests. 

This parameter value is generated by the client and must be unique. It cannot exceed 64 ASCII characters.

VpnGatewayId String Yes

The ID of the VPN gateway.

Response parameters

Name Type Description
RequestId String The ID of the request.


Request example
Response example
  • XML format

    <? xml version="1.0" encoding="UTF-8"? >
  • JSON format

        "RequestId": "0ED8D006-F706-4D23-88ED-E11ED28DCAC0"