Use API to find the package name a user is on?
Can someone let me know the API call to get the package of the current user?
-
Sorry should add specifically looking to get the package name 0 -
Hello, The WHMAPI1 function here should do this for you: WHM API 1 Functions - listaccts - Developer Documentation - cPanel Documentation An Example: # 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!0
Please sign in to leave a comment.
Comments
2 comments