General Information
...
Name | Source | Mandatory | Type | Special Format | Description |
---|---|---|---|---|---|
uId | Query | YES | String | N/A | |
username | Body | YES | String | alphanumeric with _ , - characters only | |
firstName | Body | YES | String | N/A | |
lastName | Body | YES | String | N/A | |
profile | Body | NO | String | N/A | a stringified object. |
Output
...
Valid Response
Code Block | ||||
---|---|---|---|---|
| ||||
{ "result": true, "data": true } |
...
Code Block | ||||
---|---|---|---|---|
| ||||
> 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 | ||||
---|---|---|---|---|
| ||||
{ "result": true, "data": true } |