Skip to main content
Remove stored authentication credentials from the configuration file.

Usage

Description

Log out of Sentry by clearing stored authentication credentials from your local configuration file. This command removes OAuth tokens and related session data.
If authentication is provided via environment variable (SENTRY_AUTH_TOKEN or SENTRY_TOKEN), you’ll need to unset the environment variable to log out. The command will inform you which variable to unset.

Options

This command has no flags.

Examples

Log out

Expected output:

Logout when not authenticated

Expected output:

Logout with environment variable active

Expected output:
After logging out, you can log in again with a different account or authentication method using sentry auth login.