Thanks for Sharing this approach,
We will explore into it, the only thing that triggers my thought is for shared locations if we pick the endobject's we might delete locations which are still being referenced by other active entites.
Jatinder
Original Message:
Sent: 1/2/2026 2:03:00 AM
From: Prasad SS
Subject: RE: Requesting for Guidance on API for Deleting orphan Individuals Without Contact Relations
We are exploring one more approach. In our case, relationships are soft deleted, so we can export only inactive relationships (where activeness = NOT_ACTIVE). This ensures that only inactive relationships are included in the export.
After the export, we can read the start object/end object URIs to retrieve the individual entity IDs and proceed with deleting the corresponding profiles. This approach will help reduce the export size and allow us to run the process effectively as a daily task. Further we can implement hops API call before hard deleting the profile to check other related relationships to make sure all our conditions are satisfied.
Please note that this solution applies only to relationship soft-delete scenarios and will not work for hard deletes.
Let us know your thoughts.
------------------------------
Prasad SS
Software Engineering Professional
British Telecom
Bengaluru
------------------------------
Original Message:
Sent: 12-31-2025 10:33
From: jatinder matharu
Subject: Requesting for Guidance on API for Deleting orphan Individuals Without Contact Relations
We have a similar requirement to fulfill, We occasionally delete/cleanup old unwanted data from our tenant (Individuals) but since the individual has a location reference, the locations still stay and there is no way for us to delete them when we delete the Individual, Also there is no query/filter that we can run to identify and delete these orphaned locations. We did the cleanup using a similar approach as suggested above in lower non-prod environments, but for prod there are a few risks.
1) Data set is to large (300m) and extracting entities, relations will take a long time
2) Then going through manual steps to extract the uri's of individuals, Locations from the relations files is manual and error prone, Also will take a long time.
3) There is no easy way for us to test the result orphaned locations file completely before we issue the delete. We don't want to accidently delete locations which are still being used by other entity types in the tenant.
As a result, we are seeing for a better less manual approach. Also we are seeking for reltio to provide a utility or a product feature encasement for this. I am thinking that there should be an option to delete the referenced entities if they are not being used.
Jatinder
Sr Technical Manager
Original Message:
Sent: 12/3/2025 2:19:00 AM
From: Prasad SS
Subject: RE: Requesting for Guidance on API for Deleting orphan Individuals Without Contact Relations
Hi Diparnab,
Thank you for your response. This is very helpful, and we will follow the steps you outlined to meet the requirement.
------------------------------
Prasad SS
Software Engineering Professional
British Telecom
Bengaluru
Original Message:
Sent: 12-02-2025 04:49
From: Diparnab Dey
Subject: Requesting for Guidance on API for Deleting orphan Individuals Without Contact Relations
Hi Prasad,
Unfortunately, there isn't a single bulk API approach for your use case. However, you should be able to do it in steps as below.
- Extract All Individual entity ids from Reltio.
- Extract Individual Contact Relationship. Make sure that you are extracting the Start Oject and End Object Entity Id. Use options = resolveMergedEntities, so that you can get winner URIs only as start or end object entity id for merged records.
- Then the goal will be find out the Individual entity ids that are not present in the relations dataset. You can do this by loading the two exports in a database table and join them to identify the required data or write a script to programmatically identify.
- Once the entity ids are identified, you can trigger bulk update for those records in two ways
- Update a Tag for all these records in Reltio, Search using that tag in the Advanced search and trigger bulk delete.
- Or you can use the URI list and the bulk delete ROCS utility to perform the delete.
------------------------------
Diparnab Dey
Technical Consultant
Reltio
Kolkata, West Bengal
Original Message:
Sent: 11-28-2025 01:01
From: Prasad SS
Subject: Requesting for Guidance on API for Deleting orphan Individuals Without Contact Relations
I have two entity types in Reltio - Contact and Individual. The Contact entity contains a reference attribute that links to an Individual, but the Individual entity does not contain a reference back to Contact. I need to bulk hard delete all Individual entities that are not referenced by any Contact (orphan Individuals without relation).
Can someone help, is there any direct API approach to achieve in bulk without looping through each profile for relation exists and then delete.
------------------------------
Prasad SS
Software Engineering Professional
British Telecom
Bengaluru
------------------------------