PATCH https://api.cryptohopper.com/v1/user/resetpassword

Completes a password reset: checks the verification code from the reset email and sets the new password. Needs no access token.

The new password travels in the query string. The same User-Agent check as Request a password reset runs first.

Example request

curl -X PATCH "https://api.cryptohopper.com/v1/user/resetpassword?username=USERNAME&password=PASSWORD&code=CODE&password_verify=PASSWORD_VERIFY" \
  -H "access-token: YOUR_ACCESS_TOKEN"

Parameters

Headers

NameTypeRequiredDescription
access-token string Optional The OAuth access token of the user.
Platform string Optional Platform of the client: web, ios or android. Defaults to web.

Query parameters

NameTypeRequiredDescription
username string Required Username of the account.
password string Required New password; must meet the Cryptohopper password policy.
code string Required Verification code from the password reset email.
password_verify string Required Must be the same as password.

Response

Example response (illustrative values)

{
    "data": "Password has been reset."
}

Status codes: 200. Errors return JSON with status, error and message. See How the API works for response codes and rate limits.