I see in the latest API docs a function to park a domain called "create_parked_domain_for_user".
However, I don't see an obvious counterpart to "unpark domain for user".
I do see "delete_domain", but it doesn't mention the terms "unparking" anywhere in the docs for that function.
I tried running "delete_domain" where I previously (successfully) ran:
/json-api/cpanel?user=$user&cpanel_jsonapi_module=Park&cpanel_jsonapi_func=unpark&cpanel_jsonapi_version=2&domain=$unparkdomain
but it returned the error: Permission denied: You do not have the required privileges to run "delete_domain", which was surprising as I authenticate the call using the same credentials for the reseller account (the reseller for the account where the domain is parked).
I'm trying to determine if "delete_domain" is the correct function to unpark a parked domain or if there is a better one.
If it is the proper function to unpark a domain, why would the same credentials that worked with the old unpark function not work with this one? What additional privileges are needed for the new function?
Thanks!
However, I don't see an obvious counterpart to "unpark domain for user".
I do see "delete_domain", but it doesn't mention the terms "unparking" anywhere in the docs for that function.
I tried running "delete_domain" where I previously (successfully) ran:
/json-api/cpanel?user=$user&cpanel_jsonapi_module=Park&cpanel_jsonapi_func=unpark&cpanel_jsonapi_version=2&domain=$unparkdomain
but it returned the error: Permission denied: You do not have the required privileges to run "delete_domain", which was surprising as I authenticate the call using the same credentials for the reseller account (the reseller for the account where the domain is parked).
I'm trying to determine if "delete_domain" is the correct function to unpark a parked domain or if there is a better one.
If it is the proper function to unpark a domain, why would the same credentials that worked with the old unpark function not work with this one? What additional privileges are needed for the new function?
Thanks!