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

Plesk 11 api rpc - no hosting

DaveyG

New Pleskian
Hi Guys, hoping for some insight on how to create a service plan with no hosting via api rpc.

From reading the limited information Parallels offer in their documents I believe I have to create the xml with a hosting tag and then a none tag inside it; like so

<hosting>
<none></none>
</hosting>

I have also tried the following:

<hosting/>

<hosting>
<none/>
</hosting>

as well as completely removing the hosting tag, but all of the above creates the template with hosting.

can anyone help in determining how to create this service plan with no hosting.

thanks in advance :)
 
Well i eventually created a ticket with parallels support. So if anyone else wonders how to do this here is the solution:

First create a normal service plan with hosting, setting the limits and permissions you desire. Then in the same packet, send a set command like so:

Code:
<?xml version=\"1.0\" encoding=\"UTF-8\"?>
 <packet version=\"1.6.3.0\">
  <service-plan>
   <add>
    <name>NO-HOSTING</name>
     <mail>
      <nonexistent-user>
       <reject/>
      </nonexistent-user>
      <webmail>horde</webmail>
     </mail>
     <limits>
...various limits...
     </limits>
      <preferences>
       <stat>3</stat>
       <maillists>false</maillists>
       <dns_zone_type>master</dns_zone_type>
      </preferences>
      <hosting>
       <property>
...various properties...
(I set everything to false for ease of use / security)
      </property>
     </hosting>
     <permission>
      <name>allow_license_stubs</name>
      <value>false</value>
    <permissions>
     <permission>
....various permissions....
(I set everything to false for ease of use / security)
     </permission>
    </permissions>
   </add>
   <set>
    <filter>
     <name>NO-HOSTING</name>
   </filter>
   <hosting>
    <none></none>
   </hosting>
   </set>
  </service-plan>
 </packet>
 
Back
Top