migrateIdLdapWithHttpInfo method

Future<Response> migrateIdLdapWithHttpInfo(
  1. MmMigrateIdLdapRequest mmMigrateIdLdapRequest
)

Migrate Id LDAP

Migrate LDAP IdAttribute to new value. ##### Permissions Must have manage_system permission. Minimum server version: 5.26

Note: This method returns the HTTP Response.

Parameters:

Implementation

Future<Response> migrateIdLdapWithHttpInfo(
  MmMigrateIdLdapRequest mmMigrateIdLdapRequest,
) async {
  // ignore: prefer_const_declarations
  final path = r'/ldap/migrateid';

  // ignore: prefer_final_locals
  Object? postBody = mmMigrateIdLdapRequest;

  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,
  );
}