你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
User Assigned Identities - Delete
删除标识。
DELETE https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{resourceName}?api-version=2024-11-30
URI 参数
名称 | 在 | 必需 | 类型 | 说明 |
---|---|---|---|---|
resource
|
path | True |
string |
标识所属的资源组的名称。 |
resource
|
path | True |
string |
标识资源的名称。 |
subscription
|
path | True |
string |
标识所属的订阅的 ID。 |
api-version
|
query | True |
string |
要调用的 API 版本。 |
响应
名称 | 类型 | 说明 |
---|---|---|
200 OK |
还行。 已删除的标识。 |
|
204 No Content |
指定的标识不存在。 |
|
Other Status Codes |
描述操作失败的原因的错误响应。 |
安全性
azure_auth
Azure Active Directory OAuth2 Flow
类型:
oauth2
流向:
implicit
授权 URL:
https://login.microsoftonline.com/common/oauth2/authorize
作用域
名称 | 说明 |
---|---|
user_impersonation | 模拟用户帐户 |
示例
IdentityDelete
示例请求
DELETE https://management.azure.com/subscriptions/subid/resourceGroups/rgName/providers/Microsoft.ManagedIdentity/userAssignedIdentities/resourceName?api-version=2024-11-30
示例响应
定义
名称 | 说明 |
---|---|
Cloud |
ManagedServiceIdentity 服务的错误响应。 |
Cloud |
ManagedServiceIdentity 服务的错误响应。 |
CloudError
ManagedServiceIdentity 服务的错误响应。
名称 | 类型 | 说明 |
---|---|---|
error |
有关错误的其他详细信息的列表。 |
CloudErrorBody
ManagedServiceIdentity 服务的错误响应。
名称 | 类型 | 说明 |
---|---|---|
code |
string |
错误的标识符。 |
details |
有关错误的其他详细信息的列表。 |
|
message |
string |
描述错误的消息,旨在适合在用户界面中显示。 |
target |
string |
特定错误的目标。 例如,错误属性的名称。 |