• Hi, Pleskians! We are running a UX testing of our upcoming product intended for server management and monitoring.
    We would like to invite you to have a call with us and have some fun checking our prototype. The agenda is pretty simple - we bring new design and some scenarios that you need to walk through and succeed. We will be watching and taking insights for further development of the design.
    If you would like to participate, please use this link to book a meeting. We will sent the link to the clickable prototype at the meeting.
  • 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.
  • The ImunifyAV extension is now deprecated and no longer available for installation.
    Existing ImunifyAV installations will continue operating for three months, and after that will automatically be replaced with the new Imunify extension. We recommend that you manually replace any existing ImunifyAV installations with Imunify at your earliest convenience.

Resolved Plesk Obsidian API

cipcip

Basic Pleskian
Hi guys,

I want to create subdomains via api, I did this under Onyx and everything works ok.
My question is: What is the most up to date packet for xml api ? Right now I am using: $packet->setAttribute('version', '1.6.8.0');

Is there a newer version ?! In the docs online i see that it refers to 1.5.3.3 something like that.
Also, are the same commands for Onyx working under Obsidian ?

Thank you,
Cristian
 
@EugeneKazakov

I have checked it out, but I cannot figure a way to create subdomains with it.
By using XML API, I have the following packet structure:

Code:
<packet>
  <subdomain>
    <add>
      <parent>example.com</parent>
      <name>subdomain</name>
      <property>
        <name>www_root</name>
        <value>/subdomain.example.com</value>
      </property>
    </add>
  </subdomain>
</packet>

That is what I am interested in.

Thanks,
Cristian
 
Back
Top