deleteCalendarEvent

Reference

---@param id number -- The shared event id returned by createCalendarEvent
---@return boolean success
function deleteCalendarEvent(id) end

Only deletes shared events (is_shared = 1); player-owned events are left untouched. Any reminders attached to the event are removed as well.

Usage example

  local removed = exports.fd_laptop:deleteCalendarEvent(12)

  if not removed then
      print('Event not found or not a shared event')
  end

Copyright © 2025 Felis Development