Change Password Request
The first step in the password reset process, this request will send a reset code to the user to authorize the reset request.
Request
GET
/user/v1/clientadministrator/password
Query Parameters
clientadministratorid string: optional
The unique identifier of the user. Either the clientadministratorid or emailaddress must be provided.
emailaddress string: optional
The email address belonging to the user. Either the clientadministratorid or emailaddress must be provided.
deliverymethod string: optional
The desired channel to be used to receive the reset code. Default value is email if no value is set. Possible delivery methods can be found in the Password Reset Delivery Method Dictionary.
Example
curl -XGET 'https://platform.wellviasolutions.com/user/v1/clientadministrator/password' \
-u 'Bearer:{your_token}'
-d '[email protected]'
-d 'userid=abc123'
-d 'deliverymethod=email'GET https://platform.wellviasolutions.com/user/v1/member/[email protected]&memberid=abc123&deliverymethod=email HTTP/1.1using WellViaSDK.Organization;
using WellViaSDK.Core.Dictionaries;
// Config and credentials outlined in earlier examples
var _orgClient = new WellViaOrganizationServiceClient(config, credentials);
var resetRequest = await _orgClient.RequestPasswordResetAsync(administratorId: "abc123", emailAddress: "[email protected]", deliveryMethod: CommunicationMethod.Email);Response
Attributes
deliveryMethod string: required
The communication channel used to delivery the reset code.
maskedToAddress string: required
The masked address that the reset code was sent to.
expiration timestamp: required
Timestamp of when the reset code expires.
requestCode string: required
The request code to be included in the reset response.
Example
{
"deliveryMethod": "email",
"maskedToAddress": "b*****[email protected]",
"expiration": "2021-05-12T16:52:11Z",
"requestCode": "aGdmQlJROUsvZWpGWkhmcDJsdkJoc..."
}Updated 7 months ago
