• Debian 11 is approaching its end-of-life (vendor EOL date - August 31, 2026). Plesk Obsidian 18.0.80 will be the last release to support it.
    If you are running Plesk Obsidian on Debian 11, we recommend you upgrade those servers to Debian 12 using our dist-upgrade tool.
  • We plan to deprecate and remove the support for XML RPC protocol versions earlier than 1.6.9.1 in Plesk Obsidian 18.0.82. We strongly recommend that you update all existing integrations using earlier versions of the XML RPC protocol to comply with the version 1.6.9.1 specification.

Domain administrator permissions issue through API

S

selva kumar

Guest
hi,

I have used the code which i have mentioned below to create an account in the plesk. But I am receiving the following error. Can anybody help me regarding this issue.

Error:

SimpleXMLElement Object ( [@attributes] => Array ( [version] => 1.4.1.0 ) [system] => SimpleXMLElement Object ( [status] => error [errcode] => 1014 [errtext] => Parser error: Cannot parse the XML from the source specified ) )

Code:

<?xml version="1.0" encoding="UTF-8"?><packet version="1.4.1.0"><domain>
<add>
<gen_setup>
<name>testing.co.uk</name>
<ip_address>*.*.*.*</ip_address>
<htype>vrt_hst</htype>
<status>0</status>
</gen_setup>
<hosting>
<vrt_hst>
<ftp_login>testing.co.uk</ftp_login>
<ftp_password>********</ftp_password>
<ip_address>*.*.*.*</ip_address>
</vrt_hst>
</hosting>
<user>
<enabled>true</enabled>
<password>********</password>
<email>[email protected]</email>
<perms>
<manage_phosting>true</manage_phosting>
<manage_ftp_password>true</manage_ftp_password>
<manage_not_chroot_shell>true</manage_not_chroot_shell>
<manage_sh_access>true</manage_sh_access>
<manage_quota>true</manage_quota>
<manage_subdomains>true</manage_subdomains>
<manage_domain_aliases>true</manage_domain_aliases>
<manage_log>true</manage_log>
<manage_anonftp>true</manage_anonftp>
<manage_crontab>true</manage_crontab>
<manage_dns>true</manage_dns>
<manage_webapps>true</manage_webapps>
<manage_maillists>true</manage_maillists>
<manage_spamfilter>true</manage_spamfilter>
<manage_drweb>true</manage_drweb>
<allow_local_backups>true</allow_local_backups>
<allow_ftp_backups>true</allow_ftp_backups>
<site_builder>true</site_builder>
<manage_dashboard>true</manage_dashboard>
</perms>
</user>
<template-name>Linux Bronze</template-name>
</add>
</domain></packet>
 
Back
Top