resetSamlAuthDataToEmailWithHttpInfo method
Future<Response>
resetSamlAuthDataToEmailWithHttpInfo({
- MmResetSamlAuthDataToEmailRequest? mmResetSamlAuthDataToEmailRequest,
Reset AuthData to Email
Reset the AuthData field of SAML users to their email. This is meant to be used when the "id" attribute is set to an empty value ("") from a previously non-empty value. Minimum server version: 5.35 ##### Permissions Must have manage_system
permission.
Note: This method returns the HTTP Response
.
Parameters:
- MmResetSamlAuthDataToEmailRequest mmResetSamlAuthDataToEmailRequest:
Implementation
Future<Response> resetSamlAuthDataToEmailWithHttpInfo({
MmResetSamlAuthDataToEmailRequest? mmResetSamlAuthDataToEmailRequest,
}) async {
// ignore: prefer_const_declarations
final path = r'/saml/reset_auth_data';
// ignore: prefer_final_locals
Object? postBody = mmResetSamlAuthDataToEmailRequest;
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,
);
}