• The new Python extension is now available. It allows customers to deploy and manage WSGI-based Python applications on their websites directly from Plesk.
  • The Plesk Mobile apps for iOS and Android and the Plesk Mobile Center extension have been deprecated, and are no longer available for new installations. In Plesk Obsidian 18.0.84, the Plesk Mobile Center extension will be removed from servers during the upgrade, and the Plesk Mobile apps will lose their server management features.
  • The Social Login extension has been deprecated and will be removed in Plesk Obsidian 18.0.84. After that, it will no longer be possible to log in to Plesk with a Google, Facebook, GitHub account, or with a passkey. Plesk usernames and passwords, as well as logging in with a WebPros Account, are not affected.

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