This function creates, updates, or deletes a collection.
uapi --output=jsonpretty \ --user=username \ CPDAVD \ manage_collection \ account='user@example.com' \ action='delete' \ path='/calendars/user@example.com/mycalendar' \ collection_type='calendar'
{- "apiversion": 3,
- "func": "manage_collection",
- "module": "CPDAVD",
- "result": {
- "data": {
- "shared": 1
}, - "errors": null,
- "messages": null,
- "metadata": { },
- "status": 1,
- "warnings": null
}
}