General Information
Service | API | Method | Data Models | Workflow |
---|---|---|---|---|
urac | /account/password | PUT | Users | N/A |
Description
This API allows a user to change the password of the account that has the id that matches the one sent in the request.
Input
Type: application/json
Name | Source | Mandatory | Type | Special Format | Description |
---|---|---|---|---|---|
id | Body | YES | String | N/A | Username |
oldPassword | Body | YES | String | N/A | Old Password |
password | Body | YES | String | N/A | New Password |
confirmation | Body | YES | String | Must match password | New Password confirmation |
Output
Response
SOAJS has a unified response. Check out this link to understand more the schema of SOAJS response
Valid Response
Invalid Response
Code | Description |
---|---|
400 | Business logic required data are missing |
520 | Unable to find user |
523 | The provided current password is not correct |
602 | Model error: + %model_error% |
0 Comments