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

Api Problem

leoauza

New Pleskian
Hello, i have problem in Api.

Hello, I am testing the API and found an error:

My tests were:
- I could create a user with the api
- I could create a WebSite associate the user with the api.

and the fault appeared to me when I tried to associate a website builder webpresece I created.

I used this command:

Code:
$ cmd = '<packet version="1.6.3.0"> 
<sitebuilder> 
*** <assign-trial-site> 
****** <pp-site-guid> cfec97b7-4c8f-8e16-xSdf-da2428d2905a </ wp-site-guid> 
****** <sb-site-uuid> ad869887-d3c6-6912-5c61-833f0099b874 </ sb-site-uuid> 
*** </ assign-trial-site> 
</ sitebuilder> 
</ packet> '; 


$ curl = curlInit ($ host, $ login, $ password); 
$ response = sendRequest ($ curl, $ cmd); 

echo $ response;


and I get this error:

1014 Error Parser error: Request is invalid. Error in line 2: Element 'sitebuilder': This element is not expected. Expected is one of (server, customer, webspace, subdomain, dns, db_server, mail, migration, certificate, site-alias).


No because this is this, someone can help me on this?

My plesk version is 11.5.x
S.O.: linux centos

thanks for your asistence.


thanks and sorry for my english.
 
Back
Top