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

DeleteRouteEntry

最近更新时间2024.01.10 10:41:30

首次发布时间2021.07.29 14:11:54

调用DeleteRouteEntry,删除指定路由表的自定义路由条目。

调试

请求参数

参数名称
类型
是否必选
示例值
描述
ActionStringDeleteRouteEntry要执行的操作,取值:DeleteRouteEntry。
VersionString2020-04-01API版本信息,取值为:2020-04-01。

RouteEntryId

String

rte-3tj9gw2pwq3vj0x****

待删除的路由条目的ID。
您可以调用 DescribeRouteEntryList 接口,查询路由条目ID。

返回数据

参数名称
类型
示例值
描述
RequestIdString2021062415303301022514515207C4****请求ID。

请求示例

GET /?Action=DeleteRouteEntry&Version=2020-04-01&RouteEntryId=rte-3tj9gw2pwq3vj0x**** HTTP/1.1
Host: open.volcengineapi.com
Service: vpc
Region: cn-beijing

返回示例

{
    "ResponseMetadata": {
        "RequestId": "2021062415303301022514515207C4****",
        "Action": "DeleteRouteEntry",
        "Version": "2020-04-01",
        "Service": "vpc",
        "Region": "cn-beijing"
    },
    "Result": {
        "RequestId": "2021062415303301022514515207C4****"
    }
}

错误码

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

HttpCode
错误码
错误信息
描述
400InvalidVpc.InvalidStatusThe specified VPC is not in the correct status for the request.指定的VPC所处状态无法响应该请求。
403ForbiddenYou are not authorized to perform operations on the specified route entry. The specified route entry is a system route entry.无权限对指定路由条目进行操作。指定的路由条目为系统路由条目。
404InvalidRouteEntry.NotFoundThe specified route entry does not exist.指定的路由条目不存在。