Follow the below mentioned steps to identify cPanl account that are not integrated with WHMCS.

Step::1 Log in to your server as the root user via SSH.

Step::2 Execute the below given code.

for cpuser in $(whmapi1 listaccts |awk '/user:/ {print $2}'); do apicheck=$(whmapi1 list_integration_links user="${cpuser}" | grep 'app: WHMCS'); if [[ -z "${apicheck}" ]]; then echo "${cpuser}"; fi; done

A list of every cPanel account on the server without a WHMCS integration link will appear in the command’s output.

That's It !
You may check the above discussed procedure in our video tutorial or read the blog as well.
Was this answer helpful? 0 Users Found This Useful (0 Votes)