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
| Flag | Description |
|---|---|
| --json | Output as JSON |
| --no-color | Disable color output |
| --verbose(-v) | Enable verbose output |
| --config | Custom config file path |
| --help(-h) | Show help for the command |
| --limit | Limit results (most list commands) |
| --yes(-y) | Skip confirmations |
| --force | Skip confirmation prompt |
Examples
Interactive reset (with confirmation)
nylas config resetForce reset (no confirmation)
nylas config reset --forceReset and re-initialize
nylas config reset --force
nylas initTroubleshooting
Credentials still present after reset
Check system keyring manually. Run `nylas config path` to find the config directory.
Recommended guides
Getting Started with Nylas CLI
Set up Nylas CLI in under a minute. The nylas init wizard creates your account, picks an application, generates an API key, and syncs your email accounts. Covers install, first-run welcome screen, dashboard management, AI chat, and config reset.
Give Your AI Coding Agent an Email Address
Connect Claude Code, Cursor, OpenAI Codex CLI, Windsurf, and OpenClaw to a real email account via MCP. Step-by-step setup for each tool using Nylas CLI.
Automate Email with Manus AI: Beginner Guide
Get started with Manus AI and Nylas CLI in five minutes. Send your first email, read your inbox, and search messages — all through natural language prompts.
Run nylas config reset --help for full help output.