deleteLanConfig method

Future<void> deleteLanConfig({
  1. String? uuidToken,
})

Reset the LAN to factory settings

Resets LAN configuration to factory settings. A device reboot is required.

Parameters:

  • String uuidToken: Used for remote connections to device

Implementation

Future<void> deleteLanConfig({
  String? uuidToken,
}) async {
  final response = await deleteLanConfigWithHttpInfo(
    uuidToken: uuidToken,
  );
  if (response.statusCode >= HttpStatus.badRequest) {
    throw ApiException(response.statusCode, await _decodeBodyBytes(response));
  }
}