Return users and domains with backup metadata

This function lists all users and their domains that have backup metadata.

SecurityBasicAuth
Responses
200

HTTP Request was successful.

Response Schema: application/json
object

Keys are cPanel user accounts that contain backup metadata.

object
get/get_users_and_domains_with_backup_metadata
Request samples
whmapi1 --output=jsonpretty \
  get_users_and_domains_with_backup_metadata
Response samples
application/json
{
  • "data": {
    • "username": "example.com",
    • "username2": "example.net",
    • "username3": "example.org"
    },
  • "metadata": {
    • "command": "get_users_and_domains_with_backup_metadata",
    • "reason": "OK",
    • "result": 1,
    • "version": 1
    }
}