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

what is soft delete?


Hope this will help ..

Actually any delete using deleteIds via the API is a soft delete.  Try it: call deleteIds on some test ID.  It'll show up in your recycle bin.

If this helps, please mark it as a solution, and give kudos (click on the star) if you think I deserve them.

Cool Sfdc
piyush parmarpiyush parmar
Soft delete is normal delete process. SFDC typically "marks the IsDeleted flag as TRUE".
In other word records hidden from their views, but the administrator still has access to it so if needed.
For more details please visite this link :

When records are deleted, they go into the Recycle Bin. These records in the Recycle Bin are called 'Soft Deleted' records. 

The records in the recycle bin are removed either by manually clicking on the Empty Recycle bin, or through an api call or when the 15 day duration expires. At this stage the records are completely removed from the system and can be considered a hard delete.

Satish Kumar