account::verify_email
Description
Verify ownership of a chosen new account email address, not for changes to email addresses of existing accounts.
Request details
-
Method
POST
-
URL
https://api.hostingreborn.com/account/verify_email/
Arguments
- key
- API key
- email_key
- Email verification key
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 verifification key are correct
- password
- API key and email verifification key are incorrect
Exceptions
Examples
Email verification attempt with correct API key and password reset key
POST /account/verify_email/
key=acbd18db4cc2f85cedef654fccc4a4d8
&email_key=e081ca4228314629e5b8fc1438c848bf
<?xml version="1.0" encoding="utf-8"?>
<password>true</password>
Email verification attempt with incorrect API key or password reset key
POST /account/verify_email/
key=acbd18db4cc2f85cedef654fccc4a4d8
&email_key=e081ca4228314629e5b8fc1438c848bf
<?xml version="1.0" encoding="utf-8"?>
<password>false</password>
See also
-
account::cancel_new_email
Cancel a request to change your account's email address
-
account::confirm_new_email
Confirm choice to change email address, not for new account email address verification
-
account::get_new_email
Get a chosen new email address before it has been verified