Remove a share.

This function removes a share for the specified calendar.

SecurityBasicAuth
Request
query Parameters
calendar
required
string

The calendar that was shared.

Example: calendar=calendar
delegatee
required
string

The person to whom the calendar was shared.

Example: delegatee=second@example.com
delegator
required
string

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

Example: delegator=first@example.com
Responses
200

HTTP Request was successful.

Response Schema: application/json
apiversion
integer

The version of the API.

func
string

The name of the method called.

module
string

The name of the module called.

object
get/CPDAVD/remove_delegate
Request samples
uapi --output=jsonpretty \
  --user=username \
  CPDAVD \
  remove_delegate \
  delegator='first@example.com' \
  delegatee='second@example.com' \
  calendar='calendar'
Response samples
application/json
{
  • "apiversion": 3,
  • "func": "remove_delegate",
  • "module": "CPDAVD",
  • "result": {
    • "data": {
      • "shared": 1
      },
    • "errors": null,
    • "messages": null,
    • "metadata": { },
    • "status": 1,
    • "warnings": null
    }
}