I am looking for an official resource or step-by-step instructions to use Bulk API to delete more than a Million of records from a custom object. I couldn't find a proper documentation online and everywhere, I see a simple deletion of one record using URI.
All I did is:
Used SOQL within Workbench (by selecting Bulk CSV) and downloaded the .csv file. Then tried to use Delete operation in the workbench and received some 403 error message due to the size of the csv file. Then I have used Data Loader and performed a delete operation, which worked great, but very time consuming process (took more than 1.5 hours for deleting 1.2M records).
So, looking for a simple REST solution which could possibly decrease the time and runs in Bulk API context. Any insights are welcome.