You need to enable JavaScript to run this app.
导航

DeleteVpnGatewayRoute

最近更新时间2023.07.28 08:04:07

首次发布时间2022.04.28 07:17:15

调用DeleteVpnGatewayRoute删除指定VPN网关目的路由条目。

请求参数

名称类型是否必选示例值描述
ActionStringDeleteVpnGatewayRoute要执行的操作,取值:DeleteVpnGatewayRoute。
VersionString2020-04-01API版本信息。
VpnGatewayRouteIdStringvgr-3tex2c6c0v844c****待删除VPN网关路由条目的ID。您可调用DescribeVpnGatewayRoutes查询VPN网关路由条目的ID信息。

返回数据

名称类型
示例值
描述
RequestIdString20220322145233010225243081016A****请求ID。

请求示例

GET /?Action=DeleteVpnGatewayRoute&Version=2020-04-01&VpnGatewayRouteId=vgr-7qthudw0ll6jmc**** HTTP/1.1
Host: open.volcengineapi.com
ServiceName: vpn
Region: cn-beijing

返回示例

{
    "ResponseMetadata": {
        "RequestId": "20220322145233010225243081016A****",
        "Action": "DeleteVpnGatewayRoute",
        "Version": "2020-04-01",
        "Service": "vpn",
        "Region": "cn-beijing"
    },
    "Result": {
        "RequestId": "20220322145233010225243081016A****"
    }
}

错误码

此处仅展示当前API的错误码,更多错误码请参见公共错误码

HttpCode错误码错误信息描述
400InvalidVpnGateway.InvalidStatusThe specified VPN gateway is not in the correct status for the request.指定的VPN网关所处的状态无法响应该请求。
400InvalidVpnGatewayRoute.SslVpnClientIpPoolConflictThe specified vpn gateway route conflicts with that of existing SSL server client ip pool.指定VPN网关路由与已有SSL服务端所属客户端网段存在冲突。
404InvalidVpnGatewayRoute.NotFoundThe specified VPN gateway route does not exist.指定的VPN网关路由条目不存在。