Skip to main content
The logout command removes your stored API token from the CLI configuration, ending the authenticated session. Aliases: signout

Usage

Options

Global Logout (Default)

Removes the API token from ~/.nt3/config.json:
This affects all projects on the machine since the global config is shared.

Local Logout

Removes the API token from .nt3.local.json in the current directory:
Use this when you have a project-scoped token set via nt3 login --local and want to remove only that token without affecting the global credentials.

Behavior Details

  • If no token is found, the command exits cleanly with a message rather than an error.
  • Other configuration values (such as api_url) are preserved — only the token is removed.
  • The command does not call the Entri API to revoke the token server-side. To fully invalidate a token, revoke it via the dashboard or API after logging out.

Re-Authenticating

After logging out, run nt3 login to authenticate again:
See nt3 login for details.