partner10.generateNewPassword

Purpose

Generates a new password for the Partner API account.

Signature

Method name: partner10.generateNewPassword

 

Parameters

# Type Description

1

struct AuthInfo

requesting party authentication information

 

Returns

Field Type Description

resultCode

int

code for command execution result (see below)

resultDesc

string

textual description of command execution result (see below)

newPassword

string

new generated password

 

Result Codes

resultCode resultDesc

100

Password changed

200

Client authorization failed

300

Internal error, please try after some time

400

Incorrect authorization info format

 

XML Examples

Request message

<?xml version="1.0" encoding="UTF-8"?>
<methodCall>
  <methodName>partner10.generateNewPassword</methodName>
  <params>
    <param>
      <value>
        <struct>
          <member>
            <name>login</name>
            <value>
              <string>API_LOGIN</string>
            </value>
          </member>
          <member>
            <name>password</name>
            <value>
              <string>API_PASSWORD</string>
            </value>
          </member>
        </struct>
      </value>
    </param>
  </params>
</methodCall>

 

Response message

<?xml version="1.0"?>
<methodResponse>
  <params>
    <param>
      <value>
        <struct>
          <member>
            <name>resultCode</name>
            <value>
              <int>100</int>
            </value>
          </member>
          <member>
            <name>resultDesc</name>
            <value>Password changed</value>
          </member>
          <member>
            <name>newPassword</name>
            <value><em>NEW_API_PASSWORD</em></value>
          </member>
        </struct>
      </value>
    </param>
  </params>
</methodResponse>
 

Leave your feedback on this topic here

If you have questions or need support, please visit the Plesk forum or contact your hosting provider.
The comments below are for feedback on the documentation only. No timely answers or help will be provided.