• We value your experience with Plesk during 2024
    Plesk strives to perform even better in 2025. To help us improve further, please answer a few questions about your experience with Plesk Obsidian 2024.
    Please take this short survey:

    https://pt-research.typeform.com/to/AmZvSXkx
  • 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.

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