• 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 add plesk subscription by rpc api

msf grg

New Pleskian
hi i add a new subscription by following xml . but the added subscription hosting type is not website. and the user cant upload website files. please help me correct my code.
<packet>
<webspace>
<add>
<gen_setup>
<name>exameffple.com</name>
<owner-login>mmm</owner-login>
<htype>vrt_hst</htype>
<ip_address>111.111.111.11</ip_address>
<status>0</status>
</gen_setup>

<hosting>
<vrt_hst>
<property>
<name>ssl</name>
<value>false</value>
</property>
<ip_address>111.111.111.111</ip_address>
</vrt_hst>
</hosting>
<plan-name>1m</plan-name>
</add>
</webspace>
</packet>
 
Back
Top