Command

nylas config reset

Reset all CLI configuration and credentials to a clean state.

Written by Qasim Muhammad Staff SRE

What does nylas config reset do?

The nylas config reset command clears all stored data — API credentials, Dashboard session tokens, authenticated grants, and the config file. After reset, run `nylas init` to set up again. Use --force to skip the confirmation prompt in scripts.

Usage

nylas config reset [--force]

Flags

FlagDescription
--jsonOutput as JSON
--no-colorDisable color output
--verbose(-v)Enable verbose output
--configCustom config file path
--help(-h)Show help for the command
--limitLimit results (most list commands)
--yes(-y)Skip confirmations
--forceSkip confirmation prompt

Examples

The nylas config reset command clears all stored data — API credentials, Dashboard session tokens, authenticated grants, and the config file.

Interactive reset (with confirmation)

nylas config reset

Force reset (no confirmation)

nylas config reset --force

Reset and re-initialize

nylas config reset --force
nylas init

Example output

This will clear API credentials, dashboard session, grants, and config.
? Continue? Yes

✓ Nylas CLI reset to a clean state
  Run 'nylas init' to set up again.

Troubleshooting

Credentials still present after reset

Check system keyring manually. Run `nylas config path` to find the config directory.

Recommended guides

Run nylas config reset --help for full help output.