---
title: "clearUser(with:completionHandler:)"
framework: matter
role: symbol
role_heading: Instance Method
path: "matter/mtrbaseclusterdoorlock/clearuser(with:completionhandler:)"
---

# clearUser(with:completionHandler:)

## Declaration

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

```swift
func clearUser(with params: MTRDoorLockClusterClearUserParams) async throws
```
