すべてのプロダクト
Search
ドキュメントセンター

Virtual Private Cloud:DeleteRouteTable

最終更新日:Apr 27, 2026

カスタムルートテーブルを削除します。

操作説明

概要

  • DeleteRouteTable は非同期操作です。リクエストを送信すると、システムはリクエスト ID を返し、タスクをバックグラウンドで実行します。タスクのステータスを確認するには、DescribeRouteTableList 操作を呼び出してください。

    • カスタムルートテーブルのステータスが Deleting の場合、カスタムルートテーブルは削除中です。

    • カスタムルートテーブルをクエリできない場合、カスタムルートテーブルは削除済みです。

  • 指定された時間内に、同一のカスタムルートテーブルに対して DeleteRouteTable 操作を繰り返し呼び出すことはできません。

今すぐお試しください

この API を OpenAPI Explorer でお試しください。手作業による署名は必要ありません。呼び出しに成功すると、入力したパラメーターに基づき、資格情報が組み込まれた SDK コードが自動的に生成されます。このコードをダウンロードしてローカルで使用できます。

テスト

RAM 認証

この操作の認証情報はありません。問題が発生した場合は、アカウントマネージャーにご連絡ください。

リクエストパラメーター

パラメーター

必須 / 任意

説明

RegionId

string

必須

カスタムルートテーブルが属する VPC のリージョン ID です。

最新のリージョンリストを取得するには、DescribeRegions 操作を呼び出してください。

cn-hangzhou

RouteTableId

string

必須

カスタムルートテーブルの ID です。

vtb-bp145q7glnuzdvzu2****

RegionId

string

必須

カスタムルートテーブルが属する VPC のリージョン ID です。

最新のリージョンリストを取得するには、DescribeRegions 操作を呼び出してください。

cn-hangzhou

レスポンスフィールド

フィールド

説明

object

RequestId

string

リクエスト ID です。

DC668356-BCB4-42FD-9BC3-FA2B2E04B634

成功レスポンス

JSONJSON

{
  "RequestId": "DC668356-BCB4-42FD-9BC3-FA2B2E04B634"
}

エラーレスポンス

JSONJSON

{
  "RequestId": "62172DD5-6BAC-45DF-8D44-xxxxxxxx"
}

エラーコード

HTTP ステータスコード

エラーコード

エラーメッセージ

説明

400 OperationDenied.GatewayAssociated You cannot delete the specified route table because it still associates with gateway.
400 MissingParam.RouteTableId The param of RouteTableId is missing.
400 IncorrectRouteTableType Route table can be deleted by this action only when it's type is custom.
400 IncorrectVSwitchStatus The current virtual switch status does not support this operation. 指定された VSwitch はステータスが Pending になっているため、削除できませんでした。
400 IncorrectRouteTableStatus.RouteEntryExist You cannot delete the specified route table because it still has custom route entry.
400 IncorrectStatus.cbnStatus Current CBN status does not support this operation.
400 InvalidRegionId.NotFound Specified value of RegionId is not supported.
400 InvalidParameter.Action This vpc feature is not supported in this region
400 IncorrectRouteTableStatus The current status of the route table does not support this operation.
400 DependencyViolation.RouteEntry Vpc route table has route entry.

完全なリストについては、「エラーコード」をご参照ください。

変更履歴

完全なリストについては、「変更履歴」をご参照ください。