Skip to main content
Is there a way to delete all items of a custom object with one SOAP API call? Right now I have to fetch all rows

and delete the items in batches of 200 items (API limit)...any better idea how to do this more efficiently?
1 answer
  1. Dec 14, 2015, 2:10 PM
    You can use the salesforce-bulk [1] package, load pull the data down into a dictionary, then delete them.  This uses the Bulk API and can have a batch up to 10k records (or 1GB in size).  Let me know if you have any specific questions about it.

    [1] https://github.com/heroku/salesforce-bulk
0/9000