Find and delete a record using the API

Discussion created by dloughlin on Apr 16, 2013
Latest reply on Apr 16, 2013 by dloughlin

I want to find a record by a value, and then delete it, the finding part is easy, but is there an API function that will tell me the RecordID, so that I can delete it using the newDeleteCommand?