All Products
Search
Document Center

Virtual Private Cloud:DeleteRouteTable

Last Updated:Jun 12, 2026

Memanggil operasi DeleteRouteTable untuk menghapus tabel entri rute kustom.

Deskripsi operasi

  • DeleteRouteTable adalah operasi asinkron. Setelah Anda membuat permintaan, sistem mengembalikan ID permintaan, tetapi tabel entri rute kustom belum dihapus pada saat itu. Sistem menjalankan tugas penghapusan di latar belakang. Anda dapat memanggil DescribeRouteTableList untuk mengkueri status penghapusan tabel entri rute kustom:
    • Jika tabel entri rute kustom berada dalam status Deleting, tabel entri rute kustom sedang dihapus.

    • Jika tabel entri rute kustom yang ditentukan tidak dapat dikueri, tabel entri rute kustom telah dihapus.

  • Operasi DeleteRouteTable tidak mendukung penghapusan tabel entri rute kustom dalam VPC yang sama secara bersamaan.

Coba sekarang

Coba API ini di OpenAPI Explorer tanpa perlu penandatanganan manual. Panggilan yang berhasil akan secara otomatis menghasilkan contoh kode SDK sesuai dengan parameter Anda. Unduh kode tersebut dengan kredensial bawaan yang aman untuk penggunaan lokal.

Test

RAM authorization

Tidak ada otorisasi untuk operasi ini. Jika Anda mengalami masalah saat menjalankan operasi ini, hubungi dukungan teknis.

Parameter permintaan

Parameter

Type

Required

Description

Example

RegionId

string

Yes

ID wilayah VPC tempat tabel entri rute kustom berada.

Anda dapat memanggil operasi DescribeRegions untuk mengkueri ID wilayah.

cn-hangzhou

RouteTableId

string

Yes

ID tabel entri rute kustom.

vtb-bp145q7glnuzdvzu2****

RegionId

string

Yes

The region ID of the VPC to which the custom route table belongs.

You can call the DescribeRegions operation to query the region ID.

cn-hangzhou

Elemen respons

Element

Type

Description

Example

object

RequestId

string

ID permintaan.

DC668356-BCB4-42FD-9BC3-FA2B2E04B634

Contoh

Respons sukses

JSONformat

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

Respons error

JSONformat

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

Kode kesalahan

HTTP status code

Error code

Error message

Description

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.
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.

Lihat Error Codes untuk daftar lengkap.

Catatan rilis

Lihat Release Notes untuk daftar lengkap.