Delete Critical Data Element Relationship - Delete Critical Data Element Relationship
删除 CDE 与指定实体之间的关系。
DELETE {endpoint}/datagovernance/catalog/criticalDataElements/{criticalDataElementId}/relationships?api-version=2025-09-15-preview
DELETE {endpoint}/datagovernance/catalog/criticalDataElements/{criticalDataElementId}/relationships?api-version=2025-09-15-preview&entityType={entityType}&entityId={entityId}
URI 参数
| 名称 | 在 | 必需 | 类型 | 说明 |
|---|---|---|---|---|
|
critical
|
path | True |
string (uuid) |
关键数据元素的唯一标识符。 |
|
endpoint
|
path | True |
string |
|
|
api-version
|
query | True |
string minLength: 1 |
要用于此操作的 API 版本。 |
|
entity
|
query |
string (uuid) |
相关实体的唯一标识符。 |
|
|
entity
|
query |
关系的实体类型。 |
响应
| 名称 | 类型 | 说明 |
|---|---|---|
| 204 No Content |
没有要为此请求发送的内容,但标头可能很有用。 |
|
| Other Status Codes |
意外的错误响应。 标头 x-ms-error-code: string |
安全性
OAuth2Auth
类型:
oauth2
流向:
implicit
授权 URL:
https://login.microsoftonline.com/common/oauth2/authorize
作用域
| 名称 | 说明 |
|---|---|
| https://purview.azure.net/.default |
示例
DeleteCriticalDataElementRelationship_MaximumSet
示例请求
DELETE {endpoint}/datagovernance/catalog/criticalDataElements/7e74f902-62f5-49f4-8258-92ed2b8537ba/relationships?api-version=2025-09-15-preview&entityType=CRITICALDATACOLUMN&entityId=7e74f902-62f5-49f4-8258-92ed2b8537ba
示例响应
定义
| 名称 | 说明 |
|---|---|
|
Azure. |
错误对象。 |
|
Azure. |
包含错误详细信息的响应。 |
|
Azure. |
包含有关错误的更具体信息的对象。 根据 Azure REST API 准则 - https://aka.ms/AzureRestApiGuidelines#handling-errors。 |
|
Entity |
关系的实体类型。 |
Azure.Core.Foundations.Error
错误对象。
| 名称 | 类型 | 说明 |
|---|---|---|
| code |
string |
服务器定义的错误代码集之一。 |
| details |
导致此报告错误的特定错误的详细信息数组。 |
|
| innererror |
包含与当前对象有关错误的更具体信息的对象。 |
|
| message |
string |
错误的人工可读表示形式。 |
| target |
string |
错误的目标。 |
Azure.Core.Foundations.ErrorResponse
包含错误详细信息的响应。
| 名称 | 类型 | 说明 |
|---|---|---|
| error |
错误对象。 |
Azure.Core.Foundations.InnerError
包含有关错误的更具体信息的对象。 根据 Azure REST API 准则 - https://aka.ms/AzureRestApiGuidelines#handling-errors。
| 名称 | 类型 | 说明 |
|---|---|---|
| code |
string |
服务器定义的错误代码集之一。 |
| innererror |
内部错误。 |
EntityCategory
关系的实体类型。
| 值 | 说明 |
|---|---|
| DOMAIN |
域实体类别。 |
| DATAPRODUCT |
数据产品实体类别。 |
| TERM |
术语实体类别。 |
| DATAASSET |
数据资产实体类别。 |
| OBJECTIVE |
目标实体类别。 |
| KEYRESULT |
关键结果实体类别。 |
| CRITICALDATAELEMENT |
关键数据元素实体类别。 |
| CRITICALDATACOLUMN |
关键数据列实体类别。 |
| CUSTOMMETADATA |
自定义元数据实体类别。 |
| ATTRIBUTE |
属性实体类别。 |
| ATTRIBUTEINSTANCE |
属性实例实体类别。 |
| WORKFLOW |
工作流实体类别。 |
| CATALOGSNAPSHOT |
目录快照实体类别。 |
| WORKFLOWRUN |
工作流运行实体类别。 |