account::confirm_new_email
Description
Confirm choice to change email address, not for new account email address verification.
This is to verify that you have control of, or at least access to, the chosen email address.
Request details
-
Method
POST
-
URL
https://api.hostingreborn.com/account/confirm_new_email/
Arguments
- key
- API key
- email_key
- Email change confirmation key (sent via email to the choice of new email address)
Responses
Either true or false within a <success> element.
<?xml version="1.0" encoding="utf-8"?>
<success>true</success>
<?xml version="1.0" encoding="utf-8"?>
<success>false</success>
- true
- API key and email change key are correct
- password
- API key and email change key are incorrect
Exceptions
Examples
POST /account/confirm_new_email/
key=acbd18db4cc2f85cedef654fccc4a4d8
&email_key=1f3870be274f6c49b3e31a0c6728957f
<?xml version="1.0" encoding="utf-8"?>
<success>true</success>
See also
-
account::cancel_new_email
Cancel a request to change your account's email address
-
account::get_new_email
Get a chosen new email address before it has been verified
-
account::verify_email
Verify ownership of a chosen new account email address, not for changes to email addresses of existing accounts
Notes
You can only confirm your choice of new email address or cancel your email address change request.
You will not be able to change your account email address through the API only.