• Our team is looking to connect with folks who use email services provided by Plesk, or a premium service. If you'd like to be part of the discovery process and share your experiences, we invite you to complete this short screening survey. If your responses match the persona we are looking for, you'll receive a link to schedule a call at your convenience. We look forward to hearing from you!
  • The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.

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