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.

Authorizations:
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

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

Request samples

uapi --output=jsonpretty \
  --user=username \
  CCS \
  update_delegate \
  delegator='user1@example.com' \
  delegatee='user2@example.com'

Response samples

Content type
application/json
{
  • "apiversion": 3,
  • "func": "update_delegate",
  • "module": "CCS",
  • "result": {
    • "errors": null,
    • "messages": null,
    • "metadata": { },
    • "status": 1,
    • "warnings": null
    }
}