Change Password
The second and last step in the password change process, this request will perform the password change function.
Request
POST
/user/v1/clientadministrator/password
Query Parameters
No parameters
Payload Properties
requestCode string: required
The request code to be included in the reset response.
responseCode string: required
The code that was sent to the user.
password string: required
The user's new password.
Example
curl -XPOST 'https://platform.wellviasolutions.com/user/v1/clientadministrator/password' \
-u 'Bearer:{your_token}'
-d 'RequestCode=aGdmQlJROUsvZWpGWkhmcDJsdkJoc...'
-d 'ResponseCode=123456'
-d 'Password=MYNEWPASSWORD'POST https://platform.wellviasolutions.com/user/v1/clientadministrator/password HTTP/1.1
{
"RequestCode": "aGdmQlJROUsvZWpGWkhmcDJsdkJoc...",
"ResponseCode": "123456",
"Password": "MYNEWPASSWORD"
}using WellViaSDK.Organization;
// Config and credentials outlined in earlier examples
var _orgClient = new WellViaOrganizationServiceClient(config, credentials);
var pwReset = new PasswordReset(requestCode: "aGdmQlJROUsvZWpGWkhmcDJsdkJoc...", responseCode: "123456", password: "MYNEWPASSWORD");
var pwResponse = await _orgClient.ResetPasswordAsync(request: pwReset);Response
No content is returned on a successful request.
Updated 7 months ago
