Menu

Post image 1
Post image 2
1 / 2
0

nylas auth logout: Developer Reference with Examples

DEV Community·Qasim Muhammad·about 1 month ago
#DGlx1Tfb
Reading 0:00
15s threshold

Every email, calendar, and contact operation requires auth. nylas auth logout manages that layer. The nylas auth logout command disconnects an email account from the CLI by revoking its local session. Pass --grant to target a specific account; otherwise, it logs out the currently active grant. Quick Start brew install nylas/nylas-cli/nylas nylas init nylas auth logout Enter fullscreen mode Exit fullscreen mode Syntax nylas auth logout [ --grant GRANT_ID] Enter fullscreen mode Exit fullscreen mode How It Works The CLI stores credentials securely in your system keychain (macOS Keychain, Linux Secret Service, or Windows Credential Manager). Tokens are refreshed automatically — you authenticate once and commands just work. Key Flags Run nylas auth logout --help to see all available flags. Add --json for machine-readable output — useful when piping into jq or feeding data to scripts.…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.

Read More