Question
How do you delete data from a particular Entity using the API?
Answer
You can use the API to delete data in two different ways:
- Delete in bulk using the BulkOperation task
- Delete a single record by performing the operation UpdateAttribute, DeleteAttribute
For example:
POST {TenantURL}/entities/_update
{
"objects": {
"list": [
"entities/1Kxxxx"
]
},
"actions": [
{
"operationParameters": {
"attributeURI": "configuration/entityTypes/HCP/attributes/FirstName",
"sourceTypes": [
"Reltio",
"AHA",
"AMS"
]
},
"operation": "DeleteAttribute"
}
]
}
Note: All values from SourceTypes will be removed.
References
https://docs.reltio.com/entitiesapi/bulkattrupdate.html?hl=bulk%2Cattribute%2Cupdate
Comments
Please sign in to leave a comment.