• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

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