+ Start a Discussion
mark_pamark_pa 

Soft Delete via API

Can you soft delete a record via the API like you do in the UI in SalesForce?

 

I don't want to just remove something from the database, but am not sure if the IsDeleted column can be used for this.

 

Any help would be welcome!

Best Answer chosen by Admin (Salesforce Developers) 
*werewolf**werewolf*

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.