Service | API | Method |
---|
urac | /account/changePassword | POST |
Data Model: %Link to Data Model%
Workflow: %Link to Architecture Page%
Name | Source | Mandatory | Type | Special Format | Description |
---|
| Body | YES | String | N/A | |
Output
Valid Response
Code Block |
---|
language | js |
---|
title | Valid Response Sample |
---|
|
{
"result": true,
"data": {
"..."
}
} |
Invalid Response
Code Block |
---|
language | js |
---|
title | Error Response Sample |
---|
|
{
"result":false,
"errors":{
"codes":[400],
"details":[
{
"code":400,
"message":"Problem with the provided password"
}
]
}
} |
Error Codes
Request
Code Block |
---|
language | bash |
---|
title | Calling YOUR API |
---|
|
> CURL -X POST http://127.0.0.1:4000/... |
Response
Code Block |
---|
language | js |
---|
title | YOUR API response |
---|
|
{
"result": true,
"data": {
"_id": "57063608622c47b5c097d19b",
"..."
}
} |