Returns (Task)
Reset your User password.
Name | Description |
---|---|
oldPassword | |
newPassword |
Example in C#
// Returns: nothing
await client.ResetPasswordAsync(String oldPassword, String newPassword);
Example in CURL
curl -X POST \
https://api.us.acresecurity.cloud/api/currentuser/resetpassword \
-H 'Authorization: Bearer TOKEN_GOES_HERE' \
-H 'Content-Type: application/json' \
-D '{
"$type":"Feenics.Keep.WebApi.Model.ResetPasswordRequest, Feenics.Keep.WebApi.Model",
"OldPassword":"Old Password",
"NewPassword":"New Password"
}'