Data lifecycle requests. what happend to the profile ? | Community
Skip to main content
Level 3
December 10, 2023
Solved

Data lifecycle requests. what happend to the profile ?

  • December 10, 2023
  • 1 reply
  • 1643 views

hi 

 

i need to remove some of my profiles from the AEP

i can see that i can schedule https://experienceleague.adobe.com/docs/platform-learn/tutorials/data-hygiene/delete-datasets.html?lang=en

 

  1. is this removing the profile from the profile service or from the data lake or both ?
  2. what happens if the profile is in the middle of the journey ?
  3. what happens with all the data related  to this profiles , like "event-step"  dataset ? is all the logs related to the profile are gone  ?

Thanks

 

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by AnkurSingla

Hi @nirshani 

If there are 50k profiles then API wouldn't help or would not be an ideal way. You can think about deleting the batch instead or deleting the entire dataset if that is a possibility but a dataset can have more than 50k profiles and probably you don't want all the data to be deleted.

As you delete a profile and at this very moment, whatever data has been collected will get deleted which means previous journeys part of the profile are no longer valid. When new data goes in AEP for the same user, it will create a new profile.

1 reply

AnkurSingla
Level 2
December 11, 2023

Hi @nirshani

You can delete an entity using /ups/access/entities API
https://platform.adobe.io/data/core/ups/access/entities?schema.name=_xdm.context.profile&entityId=$$$$&entityIdNS=$$$$$&mergePolicyId=$$$$


Detailed documentation here:

https://developer.adobe.com/experience-platform-apis/references/profile/#tag/Entities/operation/deleteEntity

  1. is this removing the profile from the profile service or from the data lake or both ? Both
  2. what happens if the profile is in the middle of the journey ? It will get added again once a new identity gets into AEP but with future data. 
  3. what happens with all the data related  to this profiles , like "event-step"  dataset ? is all the logs related to the profile are gone? Yes


Thanks,
Ankur

nirshaniAuthor
Level 3
December 11, 2023

thanks

i need to remove 50k profiles to API is not a good option  

for my second question let me sharpen it  - what happens if i'm deleting a profile while he is in the middle of journey ? does he finish the journey then delete or it thrown out of the journey in the exact moment ?

 

 

AnkurSingla
AnkurSinglaAccepted solution
Level 2
December 11, 2023

Hi @nirshani 

If there are 50k profiles then API wouldn't help or would not be an ideal way. You can think about deleting the batch instead or deleting the entire dataset if that is a possibility but a dataset can have more than 50k profiles and probably you don't want all the data to be deleted.

As you delete a profile and at this very moment, whatever data has been collected will get deleted which means previous journeys part of the profile are no longer valid. When new data goes in AEP for the same user, it will create a new profile.