---
title: "resetCounts(with:completionHandler:)"
framework: matter
role: symbol
role_heading: Instance Method
path: "matter/mtrbaseclusterethernetnetworkdiagnostics/resetcounts(with:completionhandler:)"
---

# resetCounts(with:completionHandler:)

## Declaration

```swift
func resetCounts(with params: MTREthernetNetworkDiagnosticsClusterResetCountsParams?, completionHandler: @escaping @Sendable ((any Error)?) -> Void)
```

```swift
func resetCounts(with params: MTREthernetNetworkDiagnosticsClusterResetCountsParams?) async throws
```
