Command
nylas agent policy delete
Delete an unattached policy
Written by Qasim Muhammad Staff SRE
What does nylas agent policy delete do?
The nylas agent policy delete command deletes an unattached policy. It is part of the Agent Accounts commands, which create and manage Nylas-managed agent accounts, policies, and rules.
Usage
nylas agent policy deleteFlags
| Flag | Description |
|---|---|
| --yes(-y) | Skip confirmation prompts |
| --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) |
Examples
The nylas agent policy delete command deletes an unattached policy.
JSON output for scripting
nylas agent policy delete --jsonTroubleshooting
Command not found or fails
Run `nylas auth config` and `nylas auth login` to authenticate first.
Recommended guides
ai-catalog.json: Agent Discovery for Your Site
Publish ai-catalog.json at /.well-known so AI agents can discover your MCP servers, APIs, and knowledge files. The draft Google-backed spec, schema, and a live example.
List Fastmail emails from the CLI
List Fastmail emails from the CLI through Nylas IMAP access, using app passwords, inbox filters, JSON output, and Fastmail-specific auth troubleshooting.
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.
Why Cloud Servers Block SMTP Ports
AWS, GCP, and Azure block outbound SMTP port 25 while ports 587 and 465 stay open. Confirm the block and send email over an HTTPS API instead.
Send Email From a Docker Container
Cloud providers block SMTP port 25 from containers. Send email over an HTTPS API on port 443 with one command and no mail daemon at all.
MailerSend vs Nylas: Email Compared
MailerSend sends transactional email from verified domains. Nylas reads and syncs user inboxes across 6 providers. Compare features, pricing, and use cases.
Run nylas agent policy delete --help for full help output.