Command
nylas calendar events delete
Delete a calendar event by ID.
Written by Qasim Muhammad Staff SRE
What does nylas calendar events delete do?
The nylas calendar events delete command removes an event from your connected calendar. Pass the event ID as the first argument. Add --force to skip confirmation for scripting. Works with Google Calendar, Outlook, Exchange, Yahoo, iCloud, and IMAP providers.
Usage
nylas calendar events delete EVENT_ID [--force]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 |
| --force | Skip confirmation prompt |
| --calendar(-c) | Calendar ID (defaults to primary) |
Examples
The nylas calendar events delete command removes an event from your connected calendar.
Delete an event
nylas calendar events delete abc123def456 --forceDelete an event with confirmation
nylas calendar events delete abc123def456Example output
✓ Event deleted (evt_abc123)Troubleshooting
Event not found
Verify the event ID with nylas calendar events list --json. The ID may have changed if the event was modified by another client.
Permission denied when deleting
You can only delete events you own or organize. Events you were invited to can be declined with nylas calendar events rsvp <event-id> no.
Recommended guides
Book meeting rooms from the CLI
Book meeting rooms from the CLI by listing calendar resources, using each room email as a calendar ID, and adding it as an event participant with less setup.
Google Calendar API Sync Tokens
Use Google Calendar API sync tokens for incremental event sync, handle the 410 GONE full-resync, and read calendars from the CLI.
Microsoft Graph calendarView Explained
Query the Microsoft Graph calendarView endpoint for events in a date range with recurrences expanded. Compare it to list events and read calendars from the CLI.
Microsoft Graph getSchedule Free/Busy
Call the Microsoft Graph getSchedule action to read free/busy for Outlook and Exchange calendars, then check availability across providers from the CLI.
Google Workspace CLI: Limits and Alternative
What gws covers, where its OAuth scope limits and pre-1.0 status bite, and when a multi-provider email and calendar CLI is the better fit.
SavvyCal vs Nylas: Scheduling Compared
SavvyCal is a scheduling SaaS for end users. Nylas is the API and CLI for building scheduling into your product across Google, Microsoft, and iCloud calendars.
Run nylas calendar events delete --help for full help output.