v1

latestOpenAPI 3.0.2cPanel License2026-08-06657427.1 MB
DAV
Calendar and Contacts (DAV)

Remove a share.

This function removes a share for the specified calendar.

get/CPDAVD/remove_delegate

Query parameters

calendarstring required
Example:calendar

The calendar that was shared.

delegateestring required
Example:second@example.com

The person to whom the calendar was shared.

delegatorstring required
Example:first@example.com

The owner of the calendar, who wishes to remove the sharing.

Response

HTTP Request was successful.

apiversioninteger

The version of the API.

funcstring

The name of the method called.

modulestring

The name of the module called.

Example response

{
  "apiversion": 3,
  "func": "remove_delegate",
  "module": "CPDAVD",
  "result": {
    "data": {
      "shared": 1
    },
    "status": 1
  }
}