migrateAuthToLdapWithHttpInfo method
Future<Response>
migrateAuthToLdapWithHttpInfo({
- MmMigrateAuthToLdapRequest? mmMigrateAuthToLdapRequest,
Migrate user accounts authentication type to LDAP.
Migrates accounts from one authentication provider to another. For example, you can upgrade your authentication provider from email to LDAP. Minimum server version: 5.28 ##### Permissions Must have manage_system
permission.
Note: This method returns the HTTP Response
.
Parameters:
- MmMigrateAuthToLdapRequest mmMigrateAuthToLdapRequest:
Implementation
Future<Response> migrateAuthToLdapWithHttpInfo({
MmMigrateAuthToLdapRequest? mmMigrateAuthToLdapRequest,
}) async {
// ignore: prefer_const_declarations
final path = r'/users/migrate_auth/ldap';
// ignore: prefer_final_locals
Object? postBody = mmMigrateAuthToLdapRequest;
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,
);
}