Hello,
Am using WHM API to get all email accounts in a cPanel account, when i use the function list_pops_for i get the error:
{"metadata":{"result":0,"command":"list_pops_for","version":1,"reason":"Permission denied: You do not have the required privileges to run “list_pops_for”."}}
I use WHM API Token, i don‘t want tu give full root access to API Token, so how can i execute this function without full root access?
Here are the persmission i gave ro my API Token :
reate-user-session
list-pkgs
manage-dns-records
list-accts
show-bandwidth
create-acct
suspend-acct
passwd
viewglobalpackages
Am using WHM API to get all email accounts in a cPanel account, when i use the function list_pops_for i get the error:
{"metadata":{"result":0,"command":"list_pops_for","version":1,"reason":"Permission denied: You do not have the required privileges to run “list_pops_for”."}}
I use WHM API Token, i don‘t want tu give full root access to API Token, so how can i execute this function without full root access?
Here are the persmission i gave ro my API Token :
reate-user-session
list-pkgs
manage-dns-records
list-accts
show-bandwidth
create-acct
suspend-acct
passwd
viewglobalpackages
Last edited by a moderator: