Reset password

Resets the user's password from the reset password token.

post
Header parameters
Brand-URLstringRequired

The brand URL of the request. This is used to identify the brand.

Example: YOUR_BRAND_URL
Body

This is the model class for ResetPassword.

emailAddressstring · email · min: 1Required

This represents the email of the user.

Example: [email protected]
tokenstring · min: 1Required

This represents the token of the user.

Example: eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9
newPasswordstring · min: 1Required

This represents the new password of the user.

Example: newpassword
Responses
200
The request was successful.
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?