logout Commands

Commands to log out of an environment.

logout

Log out interactively from environments.

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 logout

Log out of all environments, without being prompted:

1sf logout --no-prompt

Usage

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

logout functions

Log out of your Salesforce Functions account.

Examples for logout functions

Log out:

1sf logout functions

Usage

sf logout functions
[--json]

Flags

--json
Optional

Format output as json.

Type: boolean