Source: https://cli.nylas.com/docs/commands/deliverability-send-alerts-update

# nylas deliverability send-alerts update

Change a send alert rule; flags you leave out keep their value.

Written by [Qasim Muhammad](https://cli.nylas.com/authors/qasim-muhammad) Staff SRE

Published November 3, 2026

Updated November 3, 2026

## What does nylas deliverability send-alerts update do?

The nylas deliverability send-alerts update command changes a send alert rule. Only the flags you set are sent, and the rest of the rule keeps its value. It covers only messages sent from an Agent Account or through Transactional send; messages from connected grants such as Google or Microsoft accounts are not included. Use it to tune a threshold or window without recreating the rule.

## Usage

```bash
nylas deliverability send-alerts update <rule-id> [--metric METRIC] [--threshold PERCENT] [--window-hours HOURS] [--min-volume N] [--json]
```

## 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 confirmations |
| --metric | Metric: bounce_rate, complaint_rate, delivery_rate (unchanged if not set) |
| --min-volume | Minimum sends in the window before the rule can fire (unchanged if not set) |
| --threshold | Threshold percent, up to 2 decimals; bounce/complaint fire above it (0 to <100), delivery fires below it (>0 to 100) (unchanged if not set) |
| --window-hours | Look-back window in hours, 1-24 (unchanged if not set) |

## Examples

The nylas deliverability send-alerts update command changes a send alert rule.

### Lower a threshold

```bash
nylas deliverability send-alerts update 3d6f8a1c-2b4e-4c7d-9f0a-1b2c3d4e5f60 --threshold 3
```

## Troubleshooting

### nothing to update

Set at least one of --metric, --threshold, --window-hours, or --min-volume.

### alert rule not found

Rule IDs are lowercase UUIDs from nylas deliverability send-alerts list. A rule from another application is also reported as not found.

## Related commands

[nylas deliverability send-alerts createCreate a send alert rule.](https://cli.nylas.com/docs/commands/deliverability-send-alerts-create)

[nylas deliverability send-alerts deleteDelete a send alert rule.](https://cli.nylas.com/docs/commands/deliverability-send-alerts-delete)

[nylas deliverability send-alerts listList send alert rules.](https://cli.nylas.com/docs/commands/deliverability-send-alerts-list)

[nylas deliverability send-alerts showShow a send alert rule.](https://cli.nylas.com/docs/commands/deliverability-send-alerts-show)

[nylas deliverability send-events breakdownShow send counts and rates per sending domain, agent account, or recipient domain.](https://cli.nylas.com/docs/commands/deliverability-send-events-breakdown)

[nylas deliverability send-events listList send events (newest first).](https://cli.nylas.com/docs/commands/deliverability-send-events-list)

## Recommended guides

[Track Email Opens, Clicks, and RepliesSend tracked email and receive open, click, and reply events over webhooks from the terminal. Verify the signatures, and learn why email open rates overcount.](https://cli.nylas.com/guides/track-email-opens-replies-cli)

[SMTP Reply Codes ExplainedDecode SMTP reply codes: 2xx success, 4xx transient retry, 5xx permanent. Read bounce DSN enhanced codes and debug delivery from the terminal.](https://cli.nylas.com/guides/smtp-reply-codes-explained)

[Email Bounce Codes Reference (DSN)Decode bounce DSNs: RFC 3463 enhanced status codes (5.1.1, 5.2.2, 4.x.x), hard vs soft bounces, and finding them with nylas email search from:mailer-daemon.](https://cli.nylas.com/guides/email-bounce-codes-reference)

[Validate Email Addresses from the CLIValidate email addresses from the terminal with an RFC 5322 syntax check and a dig MX lookup, then gate nylas email send to cut hard bounces.](https://cli.nylas.com/guides/email-address-validation-cli)

[AI Agent Email Bounce Detection and RetryDeterministic bounce rules for AI agents: classify soft vs hard from DSN codes, retry 4.x.x with backoff, suppress 5.x.x, and escalate edge cases to humans.](https://cli.nylas.com/guides/ai-agent-email-bounce-retry)

[Soft Bounce vs Hard Bounce ExplainedSoft bounces (4xx) are transient and retried for up to 5 days; hard bounces (5xx) are permanent. Code ranges, suppression rules, and terminal detection with the CLI.](https://cli.nylas.com/guides/soft-bounce-vs-hard-bounce)

Run `nylas deliverability send-alerts update --help` for full help output.
