Versions Compared

Key

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

General Information

...

NameSourceMandatoryTypeSpecial FormatDescription
uIdQueryYESStringN/A 
usernameBodyYESStringalphanumeric with _ , - characters only 
firstNameBodyYESStringN/A 
lastNameBodyYESStringN/A 
profileBodyNOStringN/Aa stringified object.

 

Output

...

Valid Response

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

...

Code Block
languagebash
titleCalling YOUR Edit Profile API
 > CURL -X POST http://127.0.0.1:4000/urac/account/editProfile?uId=123 -d "username=john&firstName=John&lastName=Doe&profile={'gender':'male'}"

...

Code Block
languagejs
titleYOUR Edit Profile API response
{
	"result": true,
	"data": true
}