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

OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer. OpenAPI Explorer dynamically generates the sample code of the operation for different SDKs.

Request parameters

ParameterTypeRequiredExampleDescription
ActionStringYesDeleteLineageRelation

The operation that you want to perform. Set the value to DeleteLineageRelation.

SrcEntityQualifiedNameStringYesmaxcompute-table.project.table

The unique identifier of the source entity.

DestEntityQualifiedNameStringYescustom-report.report123

The unique identifier of the destination entity.

RelationshipGuidStringNodfazcdfdfccdedd

The unique identifier of the lineage.

Response parameters

ParameterTypeExampleDescription
HttpStatusCodeInteger200

The HTTP status code.

ErrorMessageStringqualifiedName should be in format as entity-table.entity-guid

The error message.

RequestIdString64B-587A-8CED-969E1973887FXXX-TT

The request ID. You can use the ID to locate logs and troubleshoot issues.

SuccessBooleantrue

Indicates whether the request was successful. Valid values:

true

false

ErrorCodeString1010040007

The error code.

StatusBooleantrue

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.