Expand my Community achievements bar.

Help shape the future of AI assistance by participating in this quick card sorting activity. Your input will help create a more effective system that better serves your needs and those of your colleagues.
SOLVED

Deletion of Number of Profiles from the Profile Store in AEP.

Avatar

Level 2

Hello

 

We have a requirement to delete profiles from Profile store Service in AEP. I have deleted the one profile from the profile service with the help of Entity Delete API Call. How to delete the number of profiles at a time from the profile store. Can anyone provide the sample code on how to delete the number of profiles?

API Call:https://platform.adobe.io/data/core/ups/access/entities?schema.name=_xdm.context.profile&entityId=xx...

 

 

Thanks in advance.

Nikhil Kumar

1 Accepted Solution

Avatar

Correct answer by
Community Advisor

@Nikhil70326 - Whats the usecase for deleting the profile. As @jayakrishnaaparthasarathy mentioned privacy API can be used, but i won't recommend it unless the request for deleting the data comes from the customer directly(GDPR).

Adding a note from Adobe for using privacy API's

"

IMPORTANT

Privacy Service is only meant for data subject and consumer rights requests. Any other usage of Privacy Service for data cleanup or maintenance is not supported or allowed. Adobe has a legal obligation to fulfill them in a timely manner. As such, load-testing on Privacy Service is not allowed as it is a production only environment and creates an unnecessary backlog of valid privacy requests.

A hard daily upload limit is now in place to help prevent abuse of the service. Users found to abuse the system will have their access to the service disabled. A subsequent meeting will then be held with them to address their actions and discuss the acceptable use for Privacy Service"

Source: - https://experienceleague.adobe.com/docs/experience-platform/privacy/home.html

 

Thanks,

Arpan

View solution in original post

4 Replies

Avatar

Community Advisor

Hi @Nikhil70326  - You can use the same payload with Mutiple key, action and 

userIDs. Below is the sample payload for deleting multiple profile on a single request.
Post - https://platform.adobe.io/data/core/privacy/jobs
{
    "companyContexts": [
        {
            "namespace""imsOrgID",
            "value"" Your Org ID comes here"
        }
    ],
    "users": [
        {
            "key""key_0001",
            "action": [
                "delete"
            ],
            "userIDs": [
                {
                    "namespace""your identity namespace",
                    "type""respective Type",
                    "value""your value"
                }
            ]
        },
        {
            "key""key_0002",
            "action": [
                "delete"
            ],
            "userIDs": [
                {
                  "namespace""your identity namespace",
                    "type""respective Type",
                    "value""your value"
                }
            ]
        },
],
    "include": [
        "profileService"
    ],
    "expandIds"false,
    "priority""normal",
    "mergePolicyId""your merger policy",
    "regulation""respective regulation"
}

 

Up to 9 identities can be given in a single user IDs and per day 20000 profile can be access/delete from API. 
https://experienceleague.adobe.com/docs/experience-platform/privacy/api/privacy-jobs.html?lang=en
You can also submit through UI - https://experienceleague.adobe.com/docs/experience-platform/privacy/ui/user-guide.html?lang=en 

Hi JayaKrishna

 

I tried with the approach which you shared,but am getting the response as a permission error.

 

{
"errors": {
"errorCode": 403,
"title": "Request Forbidden",
"detail": "Unauthorized user - No permissions found for the specified Privacy Service request (WRITE_JOB). If this is a technical account, please refer to the following documentation: http://www.adobe.com/go/privacy-service-permissions http://www.adobe.com/go/privacy-getting-started-en ",
"errorType": "uri=/data/core/privacy/jobs"
}
}

Avatar

Community Advisor

Hi @Nikhil70326  - You must need a "Privacy Write Permission" to create a new request. Make sure you have the right permission to perform the privacy service request. Please check with your admin to make sure you have the mentioned permission as mentioned over the documentation. 

Avatar

Correct answer by
Community Advisor

@Nikhil70326 - Whats the usecase for deleting the profile. As @jayakrishnaaparthasarathy mentioned privacy API can be used, but i won't recommend it unless the request for deleting the data comes from the customer directly(GDPR).

Adding a note from Adobe for using privacy API's

"

IMPORTANT

Privacy Service is only meant for data subject and consumer rights requests. Any other usage of Privacy Service for data cleanup or maintenance is not supported or allowed. Adobe has a legal obligation to fulfill them in a timely manner. As such, load-testing on Privacy Service is not allowed as it is a production only environment and creates an unnecessary backlog of valid privacy requests.

A hard daily upload limit is now in place to help prevent abuse of the service. Users found to abuse the system will have their access to the service disabled. A subsequent meeting will then be held with them to address their actions and discuss the acceptable use for Privacy Service"

Source: - https://experienceleague.adobe.com/docs/experience-platform/privacy/home.html

 

Thanks,

Arpan