Reset user password

POST /api/reset-password

Reset the password of a user using the token found in the forgot password email

Request

Body

Pass the following properties via application/json or form encoding in the body of the request.

A dictionary with fields

Field Type Description
token String Token found in the forgot password email
password Password Password field

Example request 1

POST /api/reset-password HTTP/1.1
Host: accounts.bakeronline.be
X-VERSION: 1.8.0
Accept-Language: en-US,en;q=0.5
Content-Type: application/json
Content-Length: 53
{
    "token": "...",
    "password": "password123"
}

Response

Example response 1

HTTP/1.1 200 OK
Version update available Please adjust your integration to the latest stable version (1.9.0)
1.8.0 stable