Command
nylas audit logs disable
Disable audit logging. Stops recording CLI activity to the audit log file.
Written by Qasim Muhammad Staff SRE
What does nylas audit logs disable do?
The nylas audit logs disable command turns off audit logging so the CLI no longer writes activity records to the log file. Existing log data is preserved — only new entries stop being written. Re-enable at any time with `nylas audit logs enable`.
Usage
nylas audit logs disableFlags
| 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 |
Examples
The nylas audit logs disable command turns off audit logging so the CLI no longer writes activity records to the log file.
Disable audit logging
nylas audit logs disableDisable and verify status
nylas audit logs disable
nylas audit logs statusExample output
✓ Audit logging disabled
Existing logs are preserved.Troubleshooting
Logs still being written after disable
Restart any long-running CLI processes (e.g., TUI or AIR). The disable takes effect on new CLI invocations.
Command not found
Update to the latest CLI version. Audit commands were added in v0.10.0. Run `brew upgrade nylas-cli` or re-run the install script.
Recommended guides
Thunderbird vs Nylas: GUI vs CLI email
Thunderbird is a desktop GUI email client with OAuth and calendar built in. Compare it to a scriptable, headless CLI for servers, cron jobs, and AI agents.
Pipedream vs Nylas for Email Automation
Pipedream wires 3,000+ apps with event workflows and code steps. Nylas is a native email API with a CLI for agents and cron. Compare as a Pipedream alternative.
Detect Calendar Conflicts from the CLI
Spot double-booked meetings and overlapping events from the terminal. AI conflict detection and jq scripts catch calendar conflicts before they derail your day.
Block Focus Time on Your Calendar (CLI)
Context-switching costs 23 minutes of focus per interruption. Block focus time on Google Calendar from your terminal so meetings can't eat your deep-work slots.
Build a Strands Email Agent
Give a Strands Agents SDK agent email access using the Nylas CLI as a @tool. One function reaches Gmail, Outlook, and 4 more providers — no OAuth code needed.
Cloudflare Agents Email Tools
Use the Cloudflare Agents SDK to build a stateful email agent on Workers — connect to the Nylas MCP server over HTTP and call email tools in TypeScript.
Run nylas audit logs disable --help for full help output.