resetPasswordWithHttpInfo method
Reset password
Update the password for a user using a one-use, timed recovery code tied to the user's account. Only works for non-SSO users. ##### Permissions No permissions required.
Note: This method returns the HTTP Response
.
Parameters:
- MmResetPasswordRequest mmResetPasswordRequest (required):
Implementation
Future<Response> resetPasswordWithHttpInfo(
MmResetPasswordRequest mmResetPasswordRequest,
) async {
// ignore: prefer_const_declarations
final path = r'/users/password/reset';
// ignore: prefer_final_locals
Object? postBody = mmResetPasswordRequest;
final queryParams = <MmQueryParam>[];
final headerParams = <String, String>{};
final formParams = <String, String>{};
const contentTypes = <String>['application/json'];
return apiClient.invokeAPI(
path,
'POST',
queryParams,
postBody,
headerParams,
formParams,
contentTypes.isEmpty ? null : contentTypes.first,
);
}