deleteAccessPointConfig method

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

Reset the Access Point to factory settings

Resets Access Point configuration to factory settings. If the reset fails, the entire proccess is rolled back.

Parameters:

  • String uuidToken: Used for remote connections to device

Implementation

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