Hi Everyone,
I am trying to delete a batch from the Unified profile store (UPS) via API and it failed. Can you help me understand the reason behind this failure?
API request to delete the batch - https://platform.adobe.io/data/core/ups/system/jobs
API request to check the job status - https://platform.adobe.io/data/core/ups/system/jobs/:JOBID
Response -
Solved! Go to Solution.
Views
Replies
Total Likes
Hi Everyone,
To delete a batch from the UPS, the corresponding dataset ID also needs to be included in the API request. The following curl request was shared by the Adobe team to delete a batch from ups (please replace the ims-org-id with the appropriate org ID) :
curl --location 'https://platform.adobe.io/data/core/ups/system/jobs' \
--header 'Accept: application/json' \
--header 'Authorization: Bearer ' \
--header 'x-api-key: acp_ui_platform' \
--header 'x-gw-ims-org-id: *********@AdobeOrg' \
--header 'x-sandbox-name: prod' \
--header 'Content-Type: text/plain' \
--data '{
"batchId": "",
"dataSetId" : ""
}'
@user48 the message seems to imply this has something to do with the request input parameters, not sure.
- In order to delete a batch, the batch ID must be included in the body of the POST request
- Please be advised that you cannot delete batches for datasets based on record schemas. Only batches for datasets based on time series schemas may be deleted.
If the above does not apply to you, I'd advise you to raise a Support ticket with the team so you can send them the full cURL command.
Hello @user48 ,
Looks like your are trying to delete a batch of dataset based on record schema (XDM individual profile) which is not allowed.
Only way to correct data is to re-ingest with correct data.
Hey Everyone,
Just an update. I reached out to the Adobe team and even they are not able to delete the batch.
Unlike how we used to do before, any batch older than 30 days cannot be deleted from UPS. All the profiles can be deleted at once at the dataset level though.
However, since we have the requirement to delete a particular old batch from an event dataset, the Adobe engineering team is working on the fix.
I will post the updates once I hear back from them.
Hi Everyone,
To delete a batch from the UPS, the corresponding dataset ID also needs to be included in the API request. The following curl request was shared by the Adobe team to delete a batch from ups (please replace the ims-org-id with the appropriate org ID) :
curl --location 'https://platform.adobe.io/data/core/ups/system/jobs' \
--header 'Accept: application/json' \
--header 'Authorization: Bearer ' \
--header 'x-api-key: acp_ui_platform' \
--header 'x-gw-ims-org-id: *********@AdobeOrg' \
--header 'x-sandbox-name: prod' \
--header 'Content-Type: text/plain' \
--data '{
"batchId": "",
"dataSetId" : ""
}'
Thanks @user48 for the update!
Views
Replies
Total Likes
Views
Likes
Replies
Views
Likes
Replies