You are reading v1 & v2. v1 and v2 are deprecated. They keep working and are still supported, but new integrations should use v3.
Resets the password of the user account that matches the email address
User
PATCH/api/v1/user/reset-password
Send your own credential. No customer is involved.
How authentication works- Yours
Authorization: Bearer
Language
Environment
Credentials
Your credential
Choose an environment first.
cURL request
curl -X PATCH https://api.btcdirect.eu/api/v1/user/reset-password \ -H "Authorization: Bearer $BTCD_PARTNER_TOKEN" \ -H "Content-Type: application/json" \ -d '{ "emailAddress": "mail@example.com", "password": "kDWPe4qf$&mgM26&8hX", "passwordVerify": "kDWPe4qf$&mgM26&8hX", "token": "c6e8c445c10ed381b7f05e8a070a69a4" }'Choose an environment to run this.
Response
Password reset was successful.
{ "message": "Password reset was successful."}Request
emailAddressstring
Email address of the user to change the password for.
Examplemail@example.com
passwordstring
New password of the user.
ExamplekDWPe4qf$&mgM26&8hX
passwordVerifystring
Password to verify the new password against.
ExamplekDWPe4qf$&mgM26&8hX
tokenstring
Token that was issued to the user to allow to change their password with.
Examplec6e8c445c10ed381b7f05e8a070a69a4
Responses
204Password reset was successful.400A list of possible errors for this endpoint.Every failure answers with a message and a code. Switch on the code — messages are written for people and can change.