DAV
Calendar and Contacts (DAV)

Enable global address book

This function enables the shared global address book for the current cPanel account's webmail accounts.

get/DAV/enable_shared_global_addressbook

Request

  • Base URL
    https://cpanel-server.tld:2083/execute
  • Auth
    HTTP basic

Query parameters

namestring
Example:user

cPanel account username or a Webmail user's email address. If you do not specify a user, this parameter defaults to the currently-authenticated user.

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": "enable_shared_global_addressbook",
  "module": "DAV",
  "result": {
    "data": {
      "shared": 1
    },
    "status": 1
  }
}

Changes

No recorded changes to this operation across all 5 revisions of this API.