• Our team is looking to connect with folks who use email services provided by Plesk, or a premium service. If you'd like to be part of the discovery process and share your experiences, we invite you to complete this short screening survey. If your responses match the persona we are looking for, you'll receive a link to schedule a call at your convenience. We look forward to hearing from you!
  • The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.

how to assign a user a subscription using the api?

tecnopolis

New Pleskian
Dear friend I am developing in C # an application to manage my server with plesk 10, I know how to create the domain or subscription, I also know how to create the user, so do not do is assign the subscription to the user, someone has an example of a XML package.

I use the next simple

<?xml version="1.0" encoding="UTF-8"?>
<packet version="1.6.3.0">
<webspace>
<add>
<gen_setup>
<name>example.com</name>
<ip_address>98.90.25.210</ip_address>
</gen_setup>
<hosting>
<vrt_hst>
<property>
<name>ftp_login</name>
<value>fpt16se4fdf0</value>
</property>
<property>
<name>ftp_password</name>
<value>qweqwe</value>
</property>
<ip_address>98.90.25.210</ip_address>
</vrt_hst>
</hosting>
<plan-name>01 - Plan 500MB</plan-name>
</add>
</webspace>
<user>
<add>
<gen-info>
<login>admin2@adams.com</login>
<passwd>123123</passwd>
<name>Eugene Grin</name>
</gen-info>
<roles>
<name>WebMaster</name>
</roles>
</add>
</user>
</packet>

Really thanks

Oscar Cotamo
Ciudad Tecnópolis
info@ciudadtecnopolis.com
www.ciudadtecnopolis.com
 
Hi dear friend, I use only one customer account, this has created all subscriptions, I make a user for each domain to access the control panel, the user give permission to administer only one subscription or domain, as I have not found assign a domain user using the API.

esoty reading the API documentation http://download1.parallels.net/Ples...ne/plesk-api-rpc/index.htm?fileName=66704.htm and it says nothing about this.

I attach screenshot where you can see better what I do
 

Attachments

  • assign subscriptions.PNG
    assign subscriptions.PNG
    64 KB · Views: 4
Unfortunately, this functionality was missed in API-RPC during 10.4 and 11.0 releases.
It will be available in next panel release.
 
Back
Top