Command

nylas auth scopes

Display granted OAuth scopes.

Written by Qasim Muhammad Staff SRE

What does nylas auth scopes do?

The nylas auth scopes command shows which OAuth permissions are granted for a connected account — email read, email send, calendar access, contacts access, and more. Useful for debugging permission errors or verifying least-privilege access.

Usage

nylas auth scopes [grant-id]

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

Examples

The nylas auth scopes command shows which OAuth permissions are granted for a connected account — email read, email send, calendar access, contacts access, and more.

Show scopes for active account

nylas auth scopes

Show scopes for specific grant

nylas auth scopes grant_abc123

Example output

Scopes for grant_abc123 (alice@example.com):

  email     read messages, send emails, manage drafts
  calendar  read events, create/update events
  contacts  read/write contact information

Troubleshooting

Scopes show as empty

API key auth doesn't use OAuth scopes. This command is most useful for OAuth-connected accounts.

Missing expected scope

Re-run `nylas auth login` and ensure you approve all requested permissions during the OAuth flow.

Recommended guides

Run nylas auth scopes --help for full help output.