sfdx force:data:bulk:delete

Bulk delete records from a csv file

Options

NameDescription
--jsonFormat output as json
--loglevel <loglevel>Logging level for this command invocation
-u, --targetusername <targetusername>Username or alias for the target org; overrides default target org
--apiversion <apiversion>Override the api version used for api requests made by this command
-f, --csvfile <csvfile>The path to the CSV file containing the ids of the records to delete
-s, --sobjecttype <sobjecttype>The sObject type of the records you’re deleting
-w, --wait <wait>The number of minutes to wait for the command to complete before displaying the results