permanentDeleteAllUsers method

Future<void> permanentDeleteAllUsers()

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.

Implementation

Future<void> permanentDeleteAllUsers() async {
  final response = await permanentDeleteAllUsersWithHttpInfo();
  if (response.statusCode >= HttpStatus.badRequest) {
    throw MmApiException(response.statusCode, await _decodeBodyBytes(response));
  }
}