---
title: "unregisterClient(with:completion:)"
framework: matter
role: symbol
role_heading: Instance Method
path: "matter/mtrbaseclustericdmanagement/unregisterclient(with:completion:)"
---

# unregisterClient(with:completion:)

Command UnregisterClient

## Declaration

```swift
func unregisterClient(with params: MTRICDManagementClusterUnregisterClientParams, completion: @escaping @Sendable ((any Error)?) -> Void)
```

```swift
func unregisterClient(with params: MTRICDManagementClusterUnregisterClientParams) async throws
```

## Discussion

Discussion This command allows a client to unregister itself with the ICD.
