All Products
Search
Document Center

Express Connect:DisassociateMacSecKey

Last Updated:Jun 19, 2026

Melepaskan kunci MACsec dari port sirkuit Express Connect spesifikasi khusus.

Deskripsi operasi

  • Jika Anda melepaskan kunci yang berada dalam status Associated, kunci yang terakhir diaktifkan akan secara otomatis dikaitkan.

  • Jika Anda melepaskan kunci yang berada dalam status Disassociated, kunci akan dihapus.

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 sirkuit Express Connect.

Anda dapat memanggil operasi DescribeRegions untuk mengkueri ID wilayah.

cn-hangzhou

PhysicalConnectionId

string

Yes

ID sirkuit Express Connect.

pc-bp1hp0wr072f6****

Ckn

string

Yes

Nama kunci. Hanya karakter heksadesimal yang didukung. Karakter huruf kecil secara otomatis dikonversi menjadi huruf besar. Ketika tipe algoritma enkripsi adalah GCM-AES-128 atau GCM-AES-XPN-128, panjangnya harus 32 karakter heksadesimal. Ketika tipe algoritma enkripsi adalah GCM-AES-256 atau GCM-AES-XPN-256, panjangnya harus 64 karakter heksadesimal.

0123456789ABCDEF0123456789ABCDEF

Elemen respons

Element

Type

Description

Example

object

RequestId

string

ID permintaan.

D32B3C26-6C6C-4988-93E9-D2A6444CE6AE

Contoh

Respons sukses

JSONformat

{
  "RequestId": "D32B3C26-6C6C-4988-93E9-D2A6444CE6AE"
}

Kode kesalahan

HTTP status code

Error code

Error message

Description

400 IllegalParam.%s The param of %s is illegal. 指定的参数非法
400 ResourceNotFound.PhysicalConnectionId The specified resource of [%s] is not found. PhysicalConnection不存在。
400 IncorrectStatus.PhysicalConnection The status of %s [%s] is incorrect. 物理专线的状态不支持此操作。
400 IncorrectStatus.PconnMacsec The status of %s [%s] is incorrect. 不允许进行操作因为有MACSec秘钥处于非稳态。
400 ResourceNotFound.PconnMacsec The specified resource of %s is not found. 需要解绑的Ckn不存在。

Lihat Error Codes untuk daftar lengkap.

Catatan rilis

Lihat Release Notes untuk daftar lengkap.