• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

Question Create a Site using XML API return 1006 Permission denied

puppy

New Pleskian
I'm trying to use the XML API provided by Plesk,
except adding related APIs,
whether I use account verification or Secret Key verification,
it always successfully execute the APIs (I tested modifying subdomain api and deleting subdomain api),
however, the API for adding related functions(I tested creating site api and creating site api) will return "1006 Permission denied".
I would like to see if there is any way to solve this problem

By the way,
I am making API calls as a Plesk Customer account,
Not an Administrator account,
Is this just a permissions problem?
I refer to the link below,
and it shows that it has the permission to support the customer account.

If there is a solution,
thank you for providing!
 
I'd like to chip in that an upgrade to the latest Plesk version could be a good idea as from version to version many known issues are being fixed. Maybe an upgrade will already solve the issue?
 
Like @Peter Debik suggested it's best to update Plesk to the latest version and test again. If you still encounter an error after updating to the latest Plesk version please post your API payload body here.
 
Back
Top