User Assigned Identities - Delete

刪除身分識別。

DELETE https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{resourceName}?api-version=2023-01-31

URI 參數

名稱 位於 必要 類型 Description
resourceGroupName
path True

string

身分識別所屬的資源群組名稱。

resourceName
path True

string

身分識別資源的名稱。

subscriptionId
path True

string

身分識別所屬訂用帳戶的標識碼。

api-version
query True

string

要叫用的 API 版本。

回應

名稱 類型 Description
200 OK

正常。 已刪除的身分識別。

204 No Content

指定的身分識別不存在。

Other Status Codes

CloudError

描述作業失敗原因的錯誤回應。

安全性

azure_auth

Azure Active Directory OAuth2 Flow

類型: oauth2
Flow: implicit
授權 URL: https://login.microsoftonline.com/common/oauth2/authorize

範圍

名稱 Description
user_impersonation 模擬您的用戶帳戶

範例

IdentityDelete

範例要求

DELETE https://management.azure.com/subscriptions/subid/resourceGroups/rgName/providers/Microsoft.ManagedIdentity/userAssignedIdentities/resourceName?api-version=2023-01-31

範例回覆

定義

名稱 Description
CloudError

ManagedServiceIdentity 服務的錯誤回應。

CloudErrorBody

ManagedServiceIdentity 服務的錯誤回應。

CloudError

ManagedServiceIdentity 服務的錯誤回應。

名稱 類型 Description
error

CloudErrorBody

錯誤的其他詳細數據清單。

CloudErrorBody

ManagedServiceIdentity 服務的錯誤回應。

名稱 類型 Description
code

string

錯誤的識別碼。

details

CloudErrorBody[]

錯誤的其他詳細數據清單。

message

string

描述錯誤的訊息,適用於在使用者介面中顯示。

target

string

特定錯誤的目標。 例如,錯誤中的屬性名稱。