+ Start a Discussion
Yaron RachmanyYaron Rachmany 

Bulk API deletion of records without storing them in the Recycle-Bin

There is a checkbox in the users profile called "Bulk API Hard delete" which allows deletion of records without storing in recycle-bin.
Is anyone know if this works only through Data Loader, or it works in any Bulk API deletions?
Also, is there a way to have this functionality using Soap API?
I believe you can use SOAP Bulk API and then call the hardDelete operation to get the same result.

This page (https://developer.salesforce.com/docs/atlas.en-us.api_asynch.meta/api_asynch/asynch_api_code_walkthrough.htm) has example of calling the Bulk API using Java. You just need to change the setOperation to call the hardDelete operation.