• 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 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