• Plesk Uservoice will be deprecated by October. Moving forward, all product feature requests and improvement suggestions will be managed through our new platform Plesk Productboard.
    To continue sharing your ideas and feedback, please visit features.plesk.com

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