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

FlagDescription
--jsonOutput as JSON
--no-colorDisable color output
--verbose(-v)Enable verbose output
--configCustom config file path
--help(-h)Show help for the command
--limitLimit results (most list commands)
--yes(-y)Skip confirmations
--forceSkip 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 --force

Delete an event with confirmation

nylas calendar events delete abc123def456

Example 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

Run nylas calendar events delete --help for full help output.