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
-
Method
POST
-
URL
https://api.hostingreborn.com/account/reset_password/
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
-
hostingAccount::reset_password
Reset a hosting account's password