Command

nylas config reset

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

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

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.