Update DNS Zone using api
I'm trying to update a DNS A record using a custom script, but it always gives me Access Denied.
What would be the correct api call for this? And where can I get an authorization token to include in the call?
Here's the api url I'm using to test fetching some info, using Postman:
https://.com:2083/cpsessXXXXXXXXX/json-api/cpanel?cpanel_jsonapi_user=&cpanel_jsonapi_apiversion=2&cpanel_jsonapi_module=ZoneEdit&cpanel_jsonapi_func=fetchzone_records&domain=.com
Thanks