All Products
Search
Document Center

Key Management Service:DeletePolicy

Last Updated:Dec 21, 2025

Menghapus kebijakan izin.

Deskripsi operasi

Sebelum menghapus kebijakan izin, pastikan kebijakan tersebut tidak terkait dengan application access points (AAP). Jika masih terkait, aplikasi yang bersangkutan tidak akan dapat mengakses Key Management Service (KMS).

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

Name

string

Yes

Nama kebijakan izin yang ingin Anda hapus.

policy_test

Elemen respons

Element

Type

Description

Example

object

RequestId

string

ID permintaan.

00a26a33-d992-42f3-9012-5fd12764430f

Contoh

Respons sukses

JSONformat

{
  "RequestId": "00a26a33-d992-42f3-9012-5fd12764430f"
}

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.