调用DeleteVpcEndpoint接口,删除终端节点。
接口说明
-
删除终端节点之前,请先删除终端节点中已添加的可用区。
-
DeleteVpcEndpoint 接口属于异步接口,即系统会返回一个请求 ID,但该终端节点尚未删除完成,系统后台删除任务仍在进行中。您可以调用 GetVpcEndpointAttribute 查询终端节点的删除状态:
当终端节点处于 Deleting 状态时,表示终端节点正在删除中。
当查询不到指定的终端节点时,表示终端节点删除成功。
调试
您可以在OpenAPI Explorer中直接运行该接口,免去您计算签名的困扰。运行成功后,OpenAPI Explorer可以自动生成SDK代码示例。

授权信息
请求参数
名称 |
类型 |
必填 |
描述 |
示例值 |
RegionId |
string |
是 |
要删除的终端节点所属的地域 ID。您可以通过调用 DescribeRegions 接口获取地域 ID。 |
eu-west-1 |
ClientToken |
string |
否 |
客户端 Token,用于保证请求的幂等性。 从您的客户端生成一个参数值,确保不同请求间该参数值唯一。ClientToken 只支持 ASCII 字符。 |
0c593ea1-3bea-11e9-b96b-88e9fe637760 |
DryRun |
boolean |
否 |
是否只预检此次请求。取值:
|
false |
EndpointId |
string |
是 |
要删除的终端节点 ID。 |
ep-hp33b2e43fays7s8**** |
RegionId |
string |
是 |
要删除的终端节点所属的地域 ID。您可以通过调用 DescribeRegions 接口获取地域 ID。 |
eu-west-1 |
返回参数
名称 |
类型 |
描述 |
示例值 |
object |
|||
RequestId |
string |
请求 ID。 |
8D8992C1-6712-423C-BAC5-E5E817484C6B |
示例
正常返回示例
JSON
格式
{
"RequestId": "8D8992C1-6712-423C-BAC5-E5E817484C6B"
}
错误码
HTTP status code |
错误码 |
错误信息 |
描述 |
---|---|---|---|
400 | OperationDenied.EndpointProtected | The operation is not allowed because of EndpointProtected. | |
400 | EndpointOperationDenied | The specified operation of endpoint is not allowed. | |
400 | EndpointDependenceViolation | The specified endpoint has dependent zone(s). | |
400 | EndpointNotFound | The specified Endpoint does not exist. | |
400 | EndpointProtected | The specified Endpoint is protected. | |
400 | EndpointAssociatedVpc | The endpoint is associated with a vpc. |
访问错误中心查看更多错误码。
变更历史
更多信息,参考变更详情。