sfdx force:org:delete

Mark a scratch or sandbox org for deletion

Options

NameDescription
--jsonFormat output as json
--loglevel <loglevel>Logging level for this command invocation
-v, --targetdevhubusername <targetdevhubusername>Username or alias for the dev hub org; overrides default dev hub org
-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
-p, --nopromptNo prompt to confirm deletion