Deletes a gateway endpoint.
Debugging
Request parameters
Parameter | Type | Required | Example | Description |
---|---|---|---|---|
Action | String | Yes | DeleteVpcGatewayEndpoint | The operation that you want to perform. Set the value to DeleteVpcGatewayEndpoint. |
EndpointId | String | Yes | vpce-bp1w1dmdqjpwul0v3**** | The ID of the gateway endpoint. |
RegionId | String | Yes | cn-hangzhou | The region ID of the gateway endpoint. You can call the DescribeRegions operation to query the most recent region list. |
ClientToken | String | No | 0c593ea1-3bea-11e9-b96b-88e9fe637760 | The client token that is used to ensure the idempotence of the request. You can use the client to generate a value, but you must make sure that it is unique among different requests. ClientToken can contain only ASCII characters and cannot exceed 64 characters in length. Note If you do not set this parameter, the system automatically uses RequestId as ClientToken. The ID of each request may be different. |
DryRun | Boolean | No | false | Specifies whether to precheck this request. Valid values:
|
Response parameters
Parameter | Type | Example | Description |
---|---|---|---|
RequestId | String | A1122D0F-7B3B-5445-BB19-17F27F97FE1C | The ID of the request. |
Examples
Sample requests
http(s)://[Endpoint]/?Action=DeleteVpcGatewayEndpoint
&EndpointId=vpce-bp1w1dmdqjpwul0v3****
&RegionId=cn-hangzhou
&<Common request parameters>
Sample success responses
XML
format
<DeleteVpcGatewayEndpointResponse>
<RequestId>A1122D0F-7B3B-5445-BB19-17F27F97FE1C</RequestId>
</DeleteVpcGatewayEndpointResponse>
JSON
format
{
"RequestId": "A1122D0F-7B3B-5445-BB19-17F27F97FE1C"
}
Error codes
HttpCode | Error code | Error message | Description |
---|---|---|---|
400 | Forbbiden | User not authorized to operate on the specified resource. | The error message returned because you are unauthorized to perform the operation on the specified resource. Apply for the required permissions and try again. |
400 | InvalidRegionId.NotFound | The regionId provided does not exist in our records. | The error message returned because the specified region ID does not exist. Check whether the specified region ID is valid. |
For a list of error codes, visit the API Error Center.