Menghapus materi kunci yang diimpor dari CMK. Setelah dihapus, CMK memasuki status PendingImport hingga Anda mengimpor ulang materi kunci.
Deskripsi operasi
Operasi ini tidak menghapus CMK yang dibuat menggunakan materi kunci.
Jika CMK berada dalam status PendingDeletion, status CMK dan waktu penghapusan terjadwal tidak berubah setelah Anda memanggil operasi ini. Jika CMK tidak berada dalam status PendingDeletion, status CMK berubah menjadi PendingImport setelah Anda memanggil operasi ini.
Setelah Anda menghapus materi kunci, Anda hanya dapat mengunggah materi kunci yang sama ke dalam CMK.
Untuk informasi lebih lanjut tentang kebijakan akses yang diperlukan oleh pengguna RAM atau peran RAM untuk memanggil API ini, lihat Resource Access Management.
Coba sekarang
Test
RAM authorization
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| KeyId |
string |
Yes |
ID unik global dari CMK. |
1234abcd-12ab-34cd-56ef-12345678**** |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
ID permintaan. |
4162a6af-bc99-40b3-a552-89dcc8aaf7c8 |
Contoh
Respons sukses
JSONformat
{
"RequestId": "4162a6af-bc99-40b3-a552-89dcc8aaf7c8"
}
Respons error
JSONformat
//xml response
4162a6af-bc99-40b3-a552-89dcc8aaf7c8
Kode kesalahan
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | InvalidParameter | The specified parameter is not valid. | An invalid value is specified for the parameter. |
| 404 | InvalidAccessKeyId.NotFound | The Access Key ID provided does not exist in our records. |
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.