Can someone let me know the API call to get the package of the current user?
J Jonathon.M Registered May 31, 2018 2 0 1 Canada cPanel Access Level DataCenter Provider May 31, 2018 #1 Can someone let me know the API call to get the package of the current user?
J Jonathon.M Registered May 31, 2018 2 0 1 Canada cPanel Access Level DataCenter Provider May 31, 2018 #2 Sorry should add specifically looking to get the package name
cPanelLauren Product Owner II Staff member Nov 14, 2017 13,272 1,296 363 Houston May 31, 2018 #3 Hello, The WHMAPI1 function here should do this for you: WHM API 1 Functions - listaccts - Developer Documentation - cPanel Documentation An Example: Code: # whmapi1 listaccts search=cptest searchtype=user want=plan --- data: acct: - has_backup: 0 plan: default metadata: command: listaccts reason: OK result: 1 version: 1 Thanks!
Hello, The WHMAPI1 function here should do this for you: WHM API 1 Functions - listaccts - Developer Documentation - cPanel Documentation An Example: Code: # whmapi1 listaccts search=cptest searchtype=user want=plan --- data: acct: - has_backup: 0 plan: default metadata: command: listaccts reason: OK result: 1 version: 1 Thanks!