account::reset_password

Description

Reset account password.

Resetting a password cannot be wholly completed using the public API. You must first request a password reset key from the public website.

Request details

Arguments

key
API ley
password_key
Password reset key

Responses

<?xml version="1.0" encoding="utf-8"?>
<password>false</password>
	
<?xml version="1.0" encoding="utf-8"?>
<password>814907a4dce1076f</password>
	
password
false
API key or password reset key invalid
Any other value
New password for account

Exceptions

Examples

Password reset attempt with correct API key and password reset key

POST /account/reset_password/
key=acbd18db4cc2f85cedef654fccc4a4d8&
&password_key=e081ca4228314629e5b8fc1438c848bf
<?xml version="1.0" encoding="utf-8"?>
<password>814907a4dce1076f</password>
	

Password reset attempt with incorrect API key or password reset key

POST /account/reset_password/
key=acbd18db4cc2f85cedef654fccc4a4d8&
&password_key=e081ca4228314629e5b8fc1438c848bf
<?xml version="1.0" encoding="utf-8"?>
<password>false</password>
	

See also

  1. Index
  2. About the API

    1. Summary
    2. Specification
    3. Do not use undocumented features
    4. Change log
  3. Using the API

    1. Requests
      1. Authenticated requests
      2. Limits
      3. Common request value data types
    2. Understanding responses
      1. HTTP status codes used
      2. Exceptions
        1. access
        2. account
        3. database
        4. hostingaccount
        5. server
        6. system
  4. Function reference