Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

General Information

...

NameSourceMandatoryTypeSpecial FormatDescription
tokenQueryYESStringN/AGenerated by Urac and email to user after forgot password request is made.
passwordBodyYESStringN/A 
confirmationBodyYESStringN/Asame value as password

 

Output

...

Valid Response

Code Block
languagejs
titleValid Response Sample
{
	"result": true,
	"data": ...
}

...

Code Block
languagebash
titleCalling resetPassword Reset Password API
 > CURL -X POST http://127.0.0.1:4000/resetPassword?token=abcdef -d 'password=johnpassword&confirmation=johnpassword'

...

Code Block
languagejs
titleresetPassword Reset Password API response
{
	"result": true,
	"data": true
}