• Please be aware: Kaspersky Anti-Virus has been deprecated
    With the upgrade to Plesk Obsidian 18.0.64, "Kaspersky Anti-Virus for Servers" will be automatically removed from the servers it is installed on. We recommend that you migrate to Sophos Anti-Virus for Servers.
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.
  • We’re working on enhancing the Monitoring feature in Plesk, and we could really use your expertise! If you’re open to sharing your experiences with server and website monitoring or providing feedback, we’d love to have a one-hour online meeting with you.

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