edit-icon download-icon

DeleteCustomerGateway

Last Updated: Apr 12, 2018

Description

Delete a customer gateway.

Request parameters

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 Integer Yes The ID of the customer gateway.

Response parameters

Name Type Description
RequestId String The ID of the request.

Error codes

See VPC API Error Center.

Examples

Request example

  1. https://vpc.aliyuncs.com/?Action=DeleteCustomerGateway
  2. &RegionId=cn-hangzhou
  3. &CustomerGatewayId=cgw-bp1pvpl9r9adju6l5nxck
  4. &<CommonParameters>

Response example

XML format

  1. <DeleteCustomerGateway>
  2. <RequestId>606998F0-B94D-48FE-8316-ACA81BB230DA</RequestId>
  3. </DeleteCustomerGateway>

JSON format

  1. {
  2. "RequestId":"606998F0-B94D-48FE-8316-ACA81BB230DA"
  3. }
Thank you! We've received your feedback.