Real-time event notifications keep your application responsive. nylas webhook delete manages that plumbing.
The nylas webhook delete command removes a webhook destination from your Nylas application. Pass the webhook ID with --id.
How It Works
Webhooks replace polling. Instead of checking every 30 seconds whether new email arrived, the webhook pushes the event to your endpoint within seconds. This reduces API calls and improves latency for your application.
Syntax
nylas webhook delete --id WEBHOOK_ID [--yes]
Examples
Delete a webhook by ID:
nylas webhook delete --id wh_abc123def456 --yes
List webhooks then delete one:
nylas webhook list --json
nylas webhook delete --id wh_abc123def456
Key Flags
Run nylas webhook delete --help to see all available flags. Add --json for machine-readable output — useful when piping into jq or feeding data to scripts.
nylas webhook delete --help
Full docs: nylas webhook delete reference — all flags, advanced examples, and troubleshooting.
All commands: Nylas CLI Command Reference
Get started: brew install nylas/nylas-cli/nylas — other install methods
Top comments (0)