I am trying to delete entire user calendar as part of user wanting to delete account.
I am trying to use following URLS to delete an
event and calendar resource. The delete event URL works but the calendar URL does not.I am getting
URLDomainerror.#define kEventURLFormat @"/calendars/users/%@/calendar/%@.ics" #define kCalendarCollectionURLFormat @"/calendars/users/%@/calendar"RFC 6638 mentions the following.
3.2.3.2. DELETE
When the server receives a DELETE method request targeted at a scheduling object resource, it MUST execute the Remove operation.
When the server receives a DELETE method request targeted at a calendar collection, it MUST execute the Remove operation on all scheduling object resources contained in the calendar collection.