Menghapus bahan kunci yang telah Anda impor.
Deskripsi operasi
Operasi ini tidak menghapus CMK yang dibuat menggunakan bahan kunci tersebut.
Jika CMK berada dalam status PendingDeletion, status dan waktu penghapusan terjadwalnya tidak berubah setelah operasi ini dipanggil. Namun, jika CMK tidak berada dalam status PendingDeletion, statusnya akan berubah menjadi PendingImport setelah operasi ini dipanggil.
Setelah bahan kunci dihapus, Anda hanya dapat mengunggah kembali bahan kunci yang sama ke CMK tersebut.
Coba sekarang
Test
RAM authorization
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| KeyId |
string |
Yes |
ID global unik 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.