Command
nylas dashboard domains delete
Delete a registered domain.
Written by Qasim Muhammad Staff SRE
What does nylas dashboard domains delete do?
The nylas dashboard domains delete command removes a registered domain. It infers the region for existing domains when --region is omitted. Use it carefully because Agent Account addresses on that domain may stop receiving or sending mail after deletion.
Usage
nylas dashboard domains delete [domain-id-or-address] [--region <region>]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 confirmation |
| --region(-r) | Region to delete from (us or eu; inferred for existing domains when omitted) |
Examples
The nylas dashboard domains delete command removes a registered domain.
Delete with confirmation
nylas dashboard domains delete myagent.nylas.emailDelete without a prompt
nylas dashboard domains delete d4056599-6d36-4a18-847c-7d033b7a939e --yesExample output
✓ Domain deleted (dom_abc123)
example.com is no longer registered in your organization.Troubleshooting
Deletion removes an active Agent Account domain
List Agent Accounts first with `nylas agent account list` and keep any domain still used by production addresses.
Recommended guides
Build a Mastra Email Agent
Give a Mastra TypeScript agent email by wrapping the Nylas CLI as a createTool — one subprocess call, JSON in and out, across Gmail, Outlook, and more.
Add Email Sync to Your App Without IMAP
Skip per-mailbox IMAP IDLE connections. Use webhooks for push and on-demand reads for backfill, prototyped from the terminal — and know when IMAP still wins.
Automate Customer Onboarding Emails
Run a multi-day onboarding sequence from a signup hook with nylas email send --schedule and hosted templates — no marketing platform, no SMTP.
Build a Transactional Email Agent
Send receipts, confirmations, and alerts from a dedicated agent account — DKIM-signed, idempotent, and rate-capped by a workspace policy, no SMTP relay.
Trigger Agents on Inbound Email with Webhooks
Replace cron polling with webhooks: register a message.created hook so your agent account wakes the agent the instant mail arrives, signature-verified.
Build an Email Digest Agent
Send an opt-in digest to a subscriber group from an agent account — resolve the recipient list from contacts, honor unsubscribes, and send on a schedule.
Run nylas dashboard domains delete --help for full help output.