DAV
Calendar and Contacts (DAV)
Return whether global address book is enabled
This function checks whether the shared global address book is enabled on the current cPanel account's webmail accounts.
get/DAV/has_shared_global_addressbook
Query parameters
namestring
Example:user
cPanel account user name 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": "has_shared_global_addressbook",
"module": "DAV",
"result": {
"data": {
"shared": 1
},
"status": 1
}
}