DeleteRouterInterface
This API has been deprecated. We recommend migrating to Vpc(2016-04-28) - DeleteRouterInterface for enhanced functionality and continued support. While the deprecated API remains temporarily accessible, no further updates or bug fixes will be provided.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
vpc:DeleteRouterInterface |
delete |
*RouterInterface
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| RegionId |
string |
Yes |
||
| RouterInterfaceId |
string |
Yes |
||
| ClientToken |
string |
No |
||
| UserCidr |
string |
No |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
Examples
Success response
JSON format
{
"RequestId": ""
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | IncorrectStatus | This openeration would be allowed only when status of this RouterInterface is Idle/Inactive. | The operation can be performed only when the router interface is in the Available or Inactive state. |
| 400 | DependencyViolation.RouterInterfaceReferedByRouteEntry | RouterInterface cannot be deleted when it is refered by a route table entry as next hop. | The router interface is referenced as a next hop by a route entry and cannot be deleted. Delete the route entry before you can delete the router interface. |
| 400 | IllegalParam.InstanceOwner | The router instance owener error. | |
| 500 | InvalidRouterInterfaceChargeType.Malformed | The prepaid routerinterface can not delete. | |
| 404 | InvalidRegionId.NotFound | ||
| 404 | InvalidInstanceId.NotFound | The InstanceId provided does not exist in our records. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.