managing dns zones in whm dnsonly using API

simokhounti

Registered
Nov 19, 2021
3
3
3
morocco
cPanel Access Level
Root Administrator
hello i'm a developer,

what i'm trying to do is to manage dns records in zones
Code:
.db
files (add,delete,update) crud stuff
now my PHP script works fine with normal cpanel
now i want to manage all zones that are in the server
we have whm dns only .

1 - i generated api key with everything permission .
2 - i tested api on insomia app same as postman.
3- the only request that worked is listzones docs for it here

is there is away to manage dns for all zones in one place.
the other api points gives me this error

Code:
{"statusmsg":"Permission Denied: parse_dns_zone","status":
 

Attachments

Last edited:
  • Like
Reactions: cPanelAnthony