Thanks so much. I will look into it. However, I solved my problem like this.

My problem was: I used DELETE request to delete calendar collection to remove all .ics files.

However, when the same user created the account again using same id, the calendar collection was already removed and the user was not able to create events.

Then I found out about : MKCALENDAR / MKCOL requests. So now, I explicitly create calendar collection and handle 403 (forbidden) in my code. This collection is pre-created for brand new users in Darwin Calendar Server.



On Tue, Feb 20, 2024 at 8:59 PM Andre LaBranche <dre@apple.com> wrote:
Hi,

Depends on the server config,

The default config used on macOS Server was:
https://github.com/apple/ccs-calendarserver/blob/master/conf/caldavd-apple.plist#L104-L160

The default ‘open source’ config (which was likely customized by package managers)
https://github.com/apple/ccs-calendarserver/blob/master/conf/caldavd-stdconfig.plist

Hope this helps,
-dre

More recent generations of the service stored events in the database and not in separate flat files, but flat files were still used for attachments. Older versions used flat files for everything.

On Feb 20, 2024, at 4:00 PM, Gaurav Jain <monkeyfdude@gmail.com> wrote:

Hello CalendarServer-Users,

Could you please tell me where or how are .ics files stored on caldav server?

My basic requirement is to Delete/Remove all user data which means deleting all .ics files created by a user.

I tried the following:


Best Regards,
Gaurav Jain

_______________________________________________
calendarserver-users mailing list
calendarserver-users@lists.macosforge.org
https://lists.macosforge.org/mailman/listinfo/calendarserver-users