• Introducing WebPros Cloud - a fully managed infrastructure platform purpose-built to simplify the deployment of WebPros products !  WebPros Cloud enables you to easily deliver WebPros solutions — without the complexity of managing the infrastructure.
    Join the pilot program today!
  • Support for BIND DNS has been removed from Plesk for Windows due to security and maintenance risks.
    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.

API RPC XML <mail><update><set>...

B

bluenen

Guest
Hi,

For some reason I cant get the Plesk API to Update the password of a given mail account.

I send the request as follows:

<?xml version="1.0" encoding="UTF-8"?>
<packet version="1.5.0.0">
<mail>
<update>
<set>
<filter>
<domain_id>227</domain_id>
<mailname>
<name>blah</name>
<password>12345</password>
<password_type>crypt</password_type>
</mailname>
</filter>
</set>
</update>
</mail>
</packet>

Plesk returns saying <status>ok</status> but the password actually remains unchanged.

Please help!?
 
I have tried changing domain_id to just 'id' as you mentioned but the API doesnt like that at all, "Parser error: Request is invalid"
 
Back
Top