Update calendar sharing

This function lists the users that are available for use with CalDAV and CardDAV

SecurityBasicAuth
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/CPDAVD/list_users
Request samples
uapi --output=jsonpretty \
  --user=username \
  CPDAVD \
  list_users
Response samples
application/json
{
  • "apiversion": 3,
  • "func": "list_users",
  • "module": "CPDAVD",
  • "result": {
    • "data": [
      • {
        • "someone@example.com": {
          • "addressbook": {
            • "description": "Default Address Book automatically created for your account.",
            • "displayname": "cPanel CardDAV Address Book",
            • "protected": 1,
            • "type": "VADDRESSBOOK"
            },
          • "calendar": {
            • "calendar-color": "#ff6c2c",
            • "description": "Default Calendar automatically created for your account.",
            • "displayname": "cPanel CalDAV Calendar",
            • "protected": 1,
            • "type": "VCALENDAR"
            }
          }
        }
      ],
    • "errors": null,
    • "messages": null,
    • "metadata": { },
    • "status": 1,
    • "warnings": null
    }
}