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
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.
Example response
{
"apiversion": 3,
"func": "enable_shared_global_addressbook",
"module": "DAV",
"result": {
"data": {
"shared": 1
},
"status": 1
}
}