logout Commands
Commands to log out of an environment.
logout
Description for logout
By default, the command prompts you to select which environments you want to log out of. Use --no-prompt to not be prompted and log out of all environments.
Examples for logout
Interactively select the environments to log out of:
1sf logoutLog out of all environments, without being prompted:
1sf logout --no-promptUsage
- sf logout
- [--json]
- [--no-prompt]
Flags
- --json
- Optional
-
Format output as json.
- Type: boolean
- --no-prompt
- Optional
-
Don't prompt for confirmation; logs you out of all environments.
- Type: boolean