Source: https://cli.nylas.com/docs/commands/config-reset

# 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

```bash
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)

```bash
nylas config reset
```

### Force reset (no confirmation)

```bash
nylas config reset --force
```

### Reset and re-initialize

```bash
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

[Install Nylas Skills for AI Coding AgentsInstall nylas-cli and nylas-api skills in Claude Code, Cursor, Codex CLI, Windsurf, and 30+ AI coding agents with one command.](https://cli.nylas.com/guides/nylas-agent-skills)

[Getting Started with the CLISet 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.](https://cli.nylas.com/guides/getting-started)

[Give Your AI Coding Agent an Email AddressConnect 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.](https://cli.nylas.com/guides/give-ai-agent-email-address)

[Automate Email with Manus AI: Beginner GuideFive-minute quickstart for Manus + Nylas CLI. Install the Skill, authenticate one mailbox, send a test email, list recent mail, and run your first search.](https://cli.nylas.com/guides/manus-ai-email-tutorial)

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