All Products
Search
Document Center

Cloud Enterprise Network:DeleteCen

Last Updated:Jun 10, 2026

Menghapus Instans Cloud Enterprise Network (CEN).

Deskripsi operasi

DeleteCen is an asynchronous operation. After a request is sent, the system returns a request ID and runs the task in the background. You can call DescribeCens to query the status of a CEN instance.

  • If the CEN instance is in the Deleting state, the CEN instance is being deleted. In this case, you can query the CEN instance but cannot perform other operations.

  • If the CEN instance cannot be found, the CEN instance is deleted.

Prerequisites

The CEN instance that you want to delete is not associated with a bandwidth plan, and the transit router associated with the CEN instance does not have a network instance connection or a custom route table.

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

Tabel berikut menjelaskan otorisasi yang diperlukan untuk memanggil API ini. Anda dapat menentukannya dalam kebijakan Resource Access Management (RAM). Kolom pada tabel dijelaskan sebagai berikut:

  • Action: Aksi yang dapat digunakan dalam elemen Action pada pernyataan kebijakan izin RAM untuk memberikan izin guna melakukan operasi tersebut.

  • API: API yang dapat Anda panggil untuk melakukan aksi tersebut.

  • Access level: Tingkat akses yang telah ditentukan untuk setiap API. Nilai yang valid: create, list, get, update, dan delete.

  • Resource type: Jenis resource yang mendukung otorisasi untuk melakukan aksi tersebut. Ini menunjukkan apakah aksi tersebut mendukung izin tingkat resource. Resource yang ditentukan harus kompatibel dengan aksi tersebut. Jika tidak, kebijakan tersebut tidak akan berlaku.

    • Untuk API dengan izin tingkat resource, jenis resource yang diperlukan ditandai dengan tanda bintang (*). Tentukan Nama Sumber Daya Alibaba Cloud (ARN) yang sesuai dalam elemen Resource pada kebijakan.

    • Untuk API tanpa izin tingkat resource, ditampilkan sebagai All Resources. Gunakan tanda bintang (*) dalam elemen Resource pada kebijakan.

  • Condition key: Kunci kondisi yang didefinisikan oleh layanan. Kunci ini memungkinkan kontrol granular, berlaku baik hanya untuk aksi maupun untuk aksi yang terkait dengan resource tertentu. Selain kunci kondisi spesifik layanan, Alibaba Cloud menyediakan serangkaian common condition keys yang berlaku di semua layanan yang didukung RAM.

  • Dependent action: Aksi dependen yang diperlukan untuk menjalankan aksi tersebut. Untuk menyelesaikan aksi tersebut, pengguna RAM atau role RAM harus memiliki izin untuk melakukan semua aksi dependen.

Action

Access level

Resource type

Condition key

Dependent action

cen:DeleteCen

delete

*CenInstance

acs:cen:*:{#accountId}:ceninstance/{#ceninstanceId}

None None

Parameter permintaan

Parameter

Type

Required

Description

Example

CenId

string

Yes

ID Instans CEN.

cen-7qthudw0ll6jmc****

Elemen respons

Element

Type

Description

Example

object

RequestId

string

The request ID.

5903EE99-D542-4E14-BC65-AAC1CB2D3D03

Contoh

Respons sukses

JSONformat

{
  "RequestId": "5903EE99-D542-4E14-BC65-AAC1CB2D3D03"
}

Kode kesalahan

HTTP status code

Error code

Error message

Description

400 OperationFailed.DeleteCenWithCustomRouteTable Operation failed because you are not allowed to delete the CEN with the custom transit router route table.
400 OperationFailed.DeleteCenWithRouteEntry Operation failed because you are not allowed to delete the CEN with the transit router route entry.
400 OperationFailed.MulticastDomainExist Operation is invalid because multicast domain exists.
400 OperationFailed.PrefixListAssociationExist Operation is invalid because prefixList association exists.
400 OperationFailed.AggregationRouteExist Operation is invalid because transit router aggregation route exists.
400 OperationFailed.TrafficMarkingPolicyExist Operation is invalid because transit router traffic marking policy exists.
400 OperationUnsupported.action This action is not support.
400 InvalidParameter Invalid parameter.
400 Unauthorized The AccessKeyId is unauthorized.
400 OperationFailed.TrafficQosPolicyExist Operation is invalid because traffic qos policy exists.
400 InvalidOperation.RelatedEcrExists Operation is invalid due to related ECR exists.

Lihat Error Codes untuk daftar lengkap.

Catatan rilis

Lihat Release Notes untuk daftar lengkap.