Purge Deleted Key - Purge Deleted Key
永久刪除指定的索引鍵。
清除刪除的金鑰作業適用於啟用虛刪除的保存庫。 雖然可以在任何保存庫上叫用作業,但如果在啟用非虛刪除的保存庫上叫用,則會傳回錯誤。 此作業需要金鑰/清除許可權。
DELETE {vaultBaseUrl}/deletedkeys/{key-name}?api-version=7.4
URI 參數
名稱 | 位於 | 必要 | 類型 | Description |
---|---|---|---|---|
key-name
|
path | True |
string |
金鑰的名稱 |
vault
|
path | True |
string |
儲存庫名稱,例如 https://myvault.vault.azure.net。 |
api-version
|
query | True |
string |
用戶端 API 版本。 |
回應
名稱 | 類型 | Description |
---|---|---|
204 No Content |
沒有內容,表示金鑰已永久清除。 |
|
Other Status Codes |
金鑰保存庫 錯誤回應,描述作業失敗的原因。 |
範例
PurgeDeletedKey
Sample Request
DELETE https://myvault.vault.azure.net//deletedkeys/testdeletedkey?api-version=7.4
Sample Response
定義
名稱 | Description |
---|---|
Error |
金鑰儲存庫伺服器錯誤。 |
Key |
金鑰保存庫錯誤例外狀況。 |
Error
金鑰儲存庫伺服器錯誤。
名稱 | 類型 | Description |
---|---|---|
code |
string |
錯誤碼。 |
innererror |
金鑰儲存庫伺服器錯誤。 |
|
message |
string |
錯誤訊息。 |
KeyVaultError
金鑰保存庫錯誤例外狀況。
名稱 | 類型 | Description |
---|---|---|
error |
金鑰儲存庫伺服器錯誤。 |