function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ 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 ( has example of calling the Bulk API using Java. You just need to change the setOperation to call the hardDelete operation.