DAV
Calendar and Contacts (DAV)
Share a calendar
This function adds a share for the specified calendar.
get/CPDAVD/add_delegate
Query parameters
calendarstring required
Example:calendar
The calendar to share.
delegateestring required
Example:second@example.com
The person to whom you will share the calendar.
delegatorstring required
Example:first@example.com
The owner of the calendar, who wishes to share it to another user.
readonly0 | 1
Example:1
If set, the provided access will be read-only.
Response
HTTP Request was successful.
Example response
{
"apiversion": 3,
"func": "add_delegate",
"module": "CPDAVD",
"result": {
"data": {
"shared": 1
},
"status": 1
}
}