Reset password
Header parameters
Brand-URLstringRequiredExample:
The brand URL of the request. This is used to identify the brand.
YOUR_BRAND_URL
Body
This is the model class for ResetPassword.
emailAddressstring · email · min: 1RequiredExample:
This represents the email of the user.
[email protected]
tokenstring · min: 1RequiredExample:
This represents the token of the user.
eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9
newPasswordstring · min: 1RequiredExample:
This represents the new password of the user.
newpassword
Responses
200
The request was successful.
application/json
400
Your token was invalid.
application/json
404
The user was not found in the database.
application/json
429
The user has exceeded the rate limit.
application/json
post
POST /api/v1/users/reset-password HTTP/1.1
Host: protocol.jframework.io
Brand-URL: text
Content-Type: application/json
Accept: */*
Content-Length: 115
{
"emailAddress": "[email protected]",
"token": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9",
"newPassword": "newpassword"
}
{
"success": true,
"statusCode": 200,
"message": "The request was successful.",
"data": true,
"errors": []
}
Last updated
Was this helpful?