DeleteRouterStatics
删除一条或多条路由器规则。在删除路由器规则之后,你需要执行 UpdateRouters 来使规则删除生效。
Request Parameters
Parameter name | Type | Description | Required |
---|---|---|---|
router_statics.n | String | 路由器规则ID | Yes |
zone | String | 区域 ID,注意要小写 | Yes |
Response Elements
Name | Type | Description |
---|---|---|
action | String | 响应动作 |
ret_code | Integer | 执行成功与否,0 表示成功,其他值则为错误代码 |
router_statics | Array | 删掉的路由器规则ID列表 |
Example
Example Request:
https://api.shanhe.com/iaas/?action=DeleteRouterStatics
&router_statics.1=rtrs-wls7otet
&router_statics.2=rtrs-j1tsul7v
&router_statics.3=rtrs-b3epyxu5
&zone=jn1a
&COMMON_PARAMS
Example Response:
{
"action":"DeleteRouterStaticsResponse",
"ret_code":0,
"router_statics":[
"rtrs-wls7otet",
"rtrs-j1tsul7v",
"rtrs-b3epyxu5"
]
}