How to change mail account password via API request

Created:

2017-03-07 23:31:20 UTC

Modified:

2017-08-08 13:43:15 UTC

0

Was this article helpful?


Have more questions?

Submit a request

How to change mail account password via API request

Applicable to:

  • Plesk for Windows
  • Plesk for Linux

Question

How to change mail account password via API request?

Answer

Use the following API request:

<packet>
<mail>
<update>
  <set>
   <filter>
      <site-id>domain_id</site-id>
        <mailname>
          <name>mail_name</name>
            <password>
              <value>new_password/</value>
            </password>
        </mailname>
   </filter>
  </set>
</update>
</mail>
</packet>

More information is available in our XML API Guide .

Have more questions? Submit a request
Please sign in to leave a comment.