sfdx force:source:delete

Delete source from your project and from a non-source-tracked org

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
-c, --checkonlyValidate delete command but do not delete from the org or delete files locally
-r, --nopromptDo not prompt for delete confirmation
-w, --wait <wait>Wait time for command to finish in minutes 33
-p, --sourcepath <sourcepath>Comma-separated list of paths to the local metadata to delete
-m, --metadata <metadata>Comma-separated list of names of metadata components to delete