This function lists the sharing configuration in calendars for this account.
uapi --output=jsonpretty \ --user=username \ CPDAVD \ list_delegates
{- "apiversion": 3,
- "func": "list_delegates",
- "module": "CPDAVD",
- "result": {
- "data": [
- {
- "calendar": "calendar",
- "calname": "cPanel CalDAV Calendar",
- "delegatee": "second@example.com",
- "delegator": "first@example.com",
- "readonly": 0
}
], - "errors": null,
- "messages": null,
- "metadata": { },
- "status": 1,
- "warnings": null
}
}