Have a large amount of junk contacts that are not part of any data extensions that need to be deleted (400k) from the marketing cloud instance. What is the easiest way to go about doing this? If there is an option to delete all contacts and start with a fresh instance this is also an option we are considering.


To delete a large volume of contacts like this, you could query (or import) these records into a data extension and then call the REST API to delete all contacts within that data extension. Here's the endpoint for doing that.

This would only remove these records from sendable data extensions, in addition to deleting their contact information across channels in your account, so you'd need an additional process to remove these records from any other data extensions that they may be in. You can find an example here that could also be modified pretty easily to perform the delete w/ WS Proxy or suit any other requirements you have.

| improve this answer | |
  • Thanks for your respone! Wanted to confirm this process will remove all contacts from the instance (Contact Builder) given they are not associated with any data extensions currently. What do you recommend as the best tool to use for executing REST API calls? – 4kAudio Aug 27 at 23:51
  • Yep, per the documentation: "This route deletes contact information from the account, including the Email, MobileConnect, and MobilePush apps. This deletion occurs at the enterprise level." I would recommend that you use Postman, which is a very helpful API testing tool that should allow you to get started quickly. Gortonington has a post on getting this going that you should find very useful: gortonington.com/…. – Jason Hanshaw Aug 27 at 23:54

Not the answer you're looking for? Browse other questions tagged or ask your own question.