DeleteVpcGatewayEndpoint
Deletes a gateway endpoint.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
vpc:DeleteVpcGatewayEndpoint |
delete |
*GatewayEndpoint
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| EndpointId |
string |
Yes |
The endpoint instance ID of the gateway endpoint. |
vpce-bp1w1dmdqjpwul0v3**** |
| ClientToken |
string |
No |
The client token that is used to ensure the idempotence of the request. You can use the client to generate the token, but you must make sure that the token is unique among different requests. ClientToken can contain only ASCII characters and cannot exceed 64 characters in length. Note
If you do not specify this parameter, the system automatically uses the RequestId of the API request as the ClientToken. The RequestId may be different for each API request. |
0c593ea1-3bea-11e9-b96b-88e9fe637760 |
| DryRun |
boolean |
No |
Specifies whether to perform a dry run. Valid values:
|
false |
| RegionId |
string |
Yes |
The region ID of the gateway endpoint. You can call the DescribeRegions operation to query the most recent region list. |
cn-hangzhou |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
Schema of Response |
||
| RequestId |
string |
The request ID. |
A1122D0F-7B3B-5445-BB19-17F27F97FE1C |
Examples
Success response
JSON format
{
"RequestId": "A1122D0F-7B3B-5445-BB19-17F27F97FE1C"
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | OperationFailed.ConcurrentOperation | The operation is failed because of concurrent operation. | |
| 400 | IdempotentParameterMismatch | The request uses the same client token as a previous, but non-identical request. Do not reuse a client token with different requests, unless the requests are identical. | |
| 400 | ResourceNotFound.GatewayEndpoint | The specified resource gateway endpoint is not found. | The error message returned because the specified gateway endpoint does not exist. |
| 400 | IncorrectStatus.GatewayEndpoint | The status of GatewayEndpoint [%s] is incorrect. | |
| 400 | DependencyViolation.Association | The specified resource of [%s] depends on [%s], so the operation cannot be completed. | The resource of the operation has dependencies. Please disassociate them first. |
| 400 | Forbbiden | User not authorized to operate on the specified resource. | |
| 400 | InvalidRegionId.NotFound | The regionId provided does not exist in our records. | The RegionId parameter is set to an invalid value. Specify a valid value and try again. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.