Send a DELETE request to remove the relationship between a data set and a data element.
To delete relationships, submit a request using the following method and endpoint, specifying the IDs of the assets that are related, along with the relationship type and scheme.
The following table describes the important parameters that you can specify in the request URL.
Parameter
Description
from_id, to_id
Enter the source and target IDs of the assets that are related. For IDs, you can enter either the internal IDs or the unique reference IDs of the asset.
You can enter either the internal ID or the external ID for the source and target assets. Do not enter the internal ID of one asset and the external ID of the other asset.
relationship_type
The type of relationship that is there between two assets.
scheme
Specify the type of asset IDs that you have entered in the <from_id> and <to_id> parameters. Enter one of the following values:
- internal. Indicates that the asset ID that you specify in the request is the internal ID of the asset.
- external. Indicates that the asset ID that you specify in the request is the unique reference ID of the asset.
Note: You can obtain the core.identity ID by checking the user details in the search API. You can enter either internal ID or external ID to delete relationships. For more information on the search API, see Search for assets.
The base API URL differs for each pod. For more information, see Send Requests.
Example request
The following is an example of the request parameters to delete a relationship between two assets: