Deletes the lineage between entities. You can call this operation to delete only custom lineages that are registered by users.
This operation is in the trial phase. Users who need to call this operation can apply for it. The users can call this operation after the administrator add the users to the trial list.
Debugging
Request parameters
Parameter | Type | Required | Example | Description |
---|---|---|---|---|
Action | String | Yes | DeleteLineageRelation | The operation that you want to perform. Set the value to DeleteLineageRelation. |
SrcEntityQualifiedName | String | Yes | maxcompute-table.project.table | The unique identifier of the source entity. |
DestEntityQualifiedName | String | Yes | custom-report.report123 | The unique identifier of the destination entity. |
RelationshipGuid | String | No | dfazcdfdfccdedd | The unique identifier of the lineage. |
Response parameters
Parameter | Type | Example | Description |
---|---|---|---|
HttpStatusCode | Integer | 200 | The HTTP status code. |
ErrorMessage | String | qualifiedName should be in format as entity-table.entity-guid | The error message. |
RequestId | String | 64B-587A-8CED-969E1973887FXXX-TT | The request ID. You can use the ID to locate logs and troubleshoot issues. |
Success | Boolean | true | Indicates whether the request was successful. Valid values: true false |
ErrorCode | String | 1010040007 | The error code. |
Status | Boolean | true | The result of the operation. Valid values: true: successful false: failed |
Examples
Sample requests
http(s)://[Endpoint]/?Action=DeleteLineageRelation
&SrcEntityQualifiedName=maxcompute-table.project.table
&DestEntityQualifiedName=custom-report.report123
&RelationshipGuid=dfazcdfdfccdedd
&Common request parameters
Sample success responses
XML
format
HTTP/1.1 200 OK
Content-Type:application/xml
<DeleteLineageRelationResponse>
<HttpStatusCode>200</HttpStatusCode>
<ErrorMessage>qualifiedName should be in format as entity-table.entity-guid</ErrorMessage>
<RequestId>64B-587A-8CED-969E1973887FXXX-TT</RequestId>
<Success>true</Success>
<ErrorCode>1010040007</ErrorCode>
<Status>true</Status>
</DeleteLineageRelationResponse>
JSON
format
HTTP/1.1 200 OK
Content-Type:application/json
{
"HttpStatusCode" : 200,
"ErrorMessage" : "qualifiedName should be in format as entity-table.entity-guid",
"RequestId" : "64B-587A-8CED-969E1973887FXXX-TT",
"Success" : true,
"ErrorCode" : "1010040007",
"Status" : true
}
Error codes
For a list of error codes, see Service error codes.