module Restforce::Concerns::API
def destroy(*args)
Returns true if the sobject was successfully deleted.
client.destroy('Account', '0016000000MRatd')
# Delete the Account with Id '0016000000MRatd'
Examples
id - The Salesforce ID of the record.
sobject - String name of the sobject.
Public: Delete a record.
def destroy(*args) destroy!(*args) rescue *exceptions false end