• Debian 11 is approaching its end-of-life (vendor EOL date - August 31, 2026). Plesk Obsidian 18.0.80 will be the last release to support it.
    If you are running Plesk Obsidian on Debian 11, we recommend you upgrade those servers to Debian 12 using our dist-upgrade tool.
  • We plan to deprecate and remove the support for XML RPC protocol versions earlier than 1.6.9.1 in Plesk Obsidian 18.0.82. We strongly recommend that you update all existing integrations using earlier versions of the XML RPC protocol to comply with the version 1.6.9.1 specification.

Issue Plesk Api error creating USER

tecnopolis

New Pleskian
I have plesk 17.8.11 Update 35

Dear friends today I try use API to create a subscription and user to acces control panel, I use the next packet, have two zones, "Webspace" and "User", Webspace works fine, create a subscription, assing the plan, but return a error for "user"

THE ERROR

<?xml version="1.0" encoding="UTF-8"?>
<packet version="1.6.6.0">
<webspace>
<add>
<result>
<status>ok</status>
<id>7</id>
<guid>f200f3ad-7472-403a-a481-71d689488501</guid>
</result>
</add>
</webspace>
<user>
<add>
<result>
<status>error</status>
<errcode>1017</errcode>
<errtext>This feature is no longer supported.</errtext>
</result>
</add>
</user>

</packet>

----------------------------------------------------

THE PACKET

<?xml version="1.0" encoding="UTF-8"?>
<packet version="1.6.6.0">
<webspace>
<add>
<gen_setup>
<name>zumotec.com</name>
<ip_address>64.37.58.18</ip_address>
</gen_setup>
<hosting>
<vrt_hst>
<property>
<name>ftp_login</name>
<value>zumotec</value>
</property>
<property>
<name>ftp_password</name>
<value>c63At6Xw</value>
</property>
<ip_address>64.37.58.18</ip_address>
</vrt_hst>
</hosting>
<limits>
<limit>
<name>expiration</name>
<value>1552021200</value>
</limit>
</limits>
<plan-name>01 - Plan 1000MB</plan-name>
</add>
</webspace>
<user>
<add>
<gen-info>
<login>zumotec.com</login>
<passwd>Cm1Tqgx</passwd>
<name>zumotec.com</name>
</gen-info>
<roles>
<name>WebMaster</name>
</roles>
</add>
</user>

</packet>
 
Last edited:
Dear friend, do you know which one I'm replacing or how can I create the users using the API with some alternative method?
 
As a possible solution, you can create mailbox with cp-access true. That is, instead of creating just a user, create a mailbox and user with it. Just something like:

Code:
<mail>
<create>
   <filter>
      <site-id>2</site-id>
      <mailname>
          <name>cp-user</name>
          <cp-access>true</cp-access>
          <mailbox>
                <enabled>false</enabled>
          </mailbox>
          <password>
                <value>test123</value>
                <type>plain</type>
          </password>
 
      </mailname>
   </filter>
</create>
</mail>
 
Back
Top