Delete a customer gateway.

Request parameters

Delete

Name
Type Required Description
Action String Yes

The action to perform. Valid value:

DeleteCustomerGateway

RegionId String Yes

The region of the customer gateway.

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

CustomerGatewayId String Yes

The ID of the customer gateway.

Response parameters

Name Type Description
RequestId String The ID of the request.

Examples

Request example

https://vpc.aliyuncs.com/?Action=DeleteCustomerGateway
&RegionId=cn-hangzhou
&CustomerGatewayId=cgw-bp1pvpl9r9adju6l5nxck
&CommonParameters
Response example
  • XML format

    <? xml version="1.0" encoding="UTF-8"? >
    <DeleteCustomerGateway>
        <RequestId>606998F0-B94D-48FE-8316-ACA81BB230DA</RequestId>
    </DeleteCustomerGateway>
  • JSON format

    {
      "RequestId":"606998F0-B94D-48FE-8316-ACA81BB230DA"
    }