permanentDeleteAllUsersWithHttpInfo method

Future<Response> permanentDeleteAllUsersWithHttpInfo()

Permanent delete all users

Permanently deletes all users and all their related information, including posts. Minimum server version: 5.26.0 Local mode only: This endpoint is only available through local mode.

Note: This method returns the HTTP Response.

Implementation

Future<Response> permanentDeleteAllUsersWithHttpInfo() async {
  // ignore: prefer_const_declarations
  final path = r'/users';

  // ignore: prefer_final_locals
  Object? postBody;

  final queryParams = <MmQueryParam>[];
  final headerParams = <String, String>{};
  final formParams = <String, String>{};

  const contentTypes = <String>[];

  return apiClient.invokeAPI(
    path,
    'DELETE',
    queryParams,
    postBody,
    headerParams,
    formParams,
    contentTypes.isEmpty ? null : contentTypes.first,
  );
}