cancel
Showing results for 
Search instead for 
Did you mean: 

Delete large amount of Contacts via ODATA?

leocheunghbs
Explorer
0 Kudos
276

Is it any Method by ODATA - API_MKT_CONTACT_SRV to delete about 30000 contacts with interaction records?

Currently I found only way is using ODATA ContactOriginData - Patch Method to make [ IsObsolete ] to True,

And create a job - Contacts: Delete Flagged Contacts to delete the contact, however, most modern API may provide a endpoint to delete the record directly, so I wonder did I missing something?

Accepted Solutions (1)

Accepted Solutions (1)

KunalBansal
Active Contributor

Hi leocheunghbs,

I would recommend you to use the Marketing Application Jobs -

  1. Contacts: Flag Contacts for Deletion
  2. Contacts: Delete Flagged Contact IDs

The IsObsolete method you're following is tthe right way.

Thank you.

Kunal Bansal

SAP CX Consultant- Emarsys, SMC, CDC, CDP

Answers (1)

Answers (1)

SCHNEIDERT
Active Contributor

Hi Leo,

have a look at that page: https://help.sap.com/docs/SAP_MARKETING_CLOUD/0f9408e4921e4ba3bb4a7a1f75f837a7/39e1b76b82274b5697ff6...

I think I never tried it that way, but you can see the point "Delete Contact" where they do a PUT request in the example to set the "IsEndOfPurposeBlocked" flag. But I assume the contact is then also not deleted directly but gets "flagged for deletion" or something like that. You have to give it a try.

Otherwise I would go the way already mentioned by you - set the contacts to obsolete and then use Marketing Application Jobs to flag them for deletion and then delete them.

BR Tobias