Update calendar delegation

This function updates the delegation of a user's calendar to another user.

Note:

You must install the Calendar and Contacts Server cPanel plugin to access this API function.

SecurityBasicAuth
Request
query Parameters
delegatee
required
string <email>

The user to whom you delegated the calendar.

Example: delegatee=user2@example.com
delegator
required
string <email>

The calendar's owner.

Example: delegator=user1@example.com
readonly
integer
Default: 0

Whether the delegatee will only have read-only access on the calendar.

  • 1 - Read-only access.
  • 0 - Full access.
Example: readonly=1
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/CCS/update_delegate
Request samples
uapi --output=jsonpretty \
  --user=username \
  CCS \
  update_delegate \
  delegator='user1@example.com' \
  delegatee='user2@example.com'
Response samples
application/json
{
  • "apiversion": 3,
  • "func": "update_delegate",
  • "module": "CCS",
  • "result": {
    • "errors": null,
    • "messages": null,
    • "metadata": { },
    • "status": 1,
    • "warnings": null
    }
}