Versions Compared

Key

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

General Information

...

NameSourceMandatoryTypeSpecial FormatDescription
uIdQueryYESStringN/AUser id
oldPasswordBodyYESStringN/AOld Password
passwordBodyYESStringN/ANew Password
confirmationBodyYESStringN/Asame value as password

 

Output

...

Valid Response

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

...

Code Block
languagebash
titleCalling YOUR Change Password API
 > CURL -X POST http://127.0.0.1:4000/urac/account/changePassword?uId=123 -d 'oldPassword=johnoldpassword&password=johnpassword&confirmation=johnpassword'

...

Code Block
languagejs
titleYOUR Change Password API response
{
	"result": true,
	"data": true
}