Description

This function lists users with backup metadata.


Examples 




https://hostname.example.com:2087/cpsess##########/json-api/get_users_with_backup_metadata?api.version=1




whmapi1 get_users_with_backup_metadata



{
   "metadata":{
      "command":"get_users_with_backup_metadata",
      "result":1,
      "version":1,
      "reason":"OK"
   },
   "data":{
      "accounts":[
         "username",
         "username2",
         "username3",
         "username4"
      ]
   }
}




Parameters

This function does not accept parameters.

Returns

ReturnTypeDescriptionPossible valuesExample
accountsarrayThe cPanel user accounts on the server that contain backup metadata.

An array of cPanel usernames.

username