sfdx auth:logout

Log out from authorized orgs

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
-a, --allInclude all authenticated orgs
-p, --nopromptDo not prompt for confirmation