SOLVED cPanel plugin - access account package info?

CloudNexus

Member
May 18, 2018
20
2
3
Netherlands
cPanel Access Level
Root Administrator
Hi there,

I was wondering whether there is an api available that I can use in my cPanel plugin to get the package options or account options? In WHM we've got the Accounts::accountsummary api that we can use to get all the info on a given account, but for cPanel (i checked Api v1,v2, and UAPI) there doesn't seem to be a way for my plugin to retrieve this info.

This is a bit of an issue, as I have certain limits in the package configuration (similar to max number of SQL databases) that I need to enforce in the frontend, but I can't do this if I don't know how many the user is allowed to have.

Any hints / tips on this?
 

cPanelLauren

Product Owner II
Staff member
Nov 14, 2017
13,266
1,300
363
Houston
Hi @CloudNexus

Thanks for letting us know that you found a solution to your issue and what it was, glad to hear the LivePHP api will allow you to get the information you need.


Thanks!
 
  • Like
Reactions: CloudNexus