Web Apps - Delete Host Secret
刪除主機層級秘密的描述。
DELETE https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/host/default/{keyType}/{keyName}?api-version=2024-04-01
URI 參數
名稱 | 位於 | 必要 | 類型 | Description |
---|---|---|---|---|
key
|
path | True |
string |
索引鍵的名稱。 |
key
|
path | True |
string |
主機金鑰的類型。 |
name
|
path | True |
string |
網站名稱。 |
resource
|
path | True |
string minLength: 1maxLength: 90 pattern: ^[-\w\._\(\)]+[^\.]$ |
資源所屬的資源群組名稱。 |
subscription
|
path | True |
string |
您的 Azure 訂用帳戶標識碼。 這是 GUID 格式的字串(例如 0000000000-0000-0000-0000-0000000000000000)。 |
api-version
|
query | True |
string |
API 版本 |
回應
名稱 | 類型 | Description |
---|---|---|
204 No Content |
金鑰已刪除。 |
|
404 Not Found |
找不到金鑰。 |
|
Other Status Codes |
App Service 錯誤回應。 |
安全性
azure_auth
Azure Active Directory OAuth2 Flow
類型:
oauth2
Flow:
implicit
授權 URL:
https://login.microsoftonline.com/common/oauth2/authorize
範圍
名稱 | Description |
---|---|
user_impersonation | 模擬您的用戶帳戶 |
定義
名稱 | Description |
---|---|
Default |
App Service 錯誤回應。 |
Details | |
Error |
錯誤模型。 |
DefaultErrorResponse
App Service 錯誤回應。
名稱 | 類型 | Description |
---|---|---|
error |
錯誤模型。 |
Details
名稱 | 類型 | Description |
---|---|---|
code |
string |
以程式設計方式識別錯誤的標準化字串。 |
message |
string |
詳細的錯誤描述和偵錯資訊。 |
target |
string |
詳細的錯誤描述和偵錯資訊。 |
Error
錯誤模型。
名稱 | 類型 | Description |
---|---|---|
code |
string |
以程式設計方式識別錯誤的標準化字串。 |
details |
Details[] |
詳細的錯誤。 |
innererror |
string |
偵錯錯誤的詳細資訊。 |
message |
string |
詳細的錯誤描述和偵錯資訊。 |
target |
string |
詳細的錯誤描述和偵錯資訊。 |