---
title: "removeFabric(with:expectedValues:expectedValueInterval:completionHandler:)"
framework: matter
role: symbol
role_heading: Instance Method
path: "matter/mtrclusteroperationalcredentials/removefabric(with:expectedvalues:expectedvalueinterval:completionhandler:)"
---

# removeFabric(with:expectedValues:expectedValueInterval:completionHandler:)

## Declaration

```swift
func removeFabric(with params: MTROperationalCredentialsClusterRemoveFabricParams, expectedValues expectedDataValueDictionaries: [[String : Any]]?, expectedValueInterval expectedValueIntervalMs: NSNumber?, completionHandler: @escaping @Sendable (MTROperationalCredentialsClusterNOCResponseParams?, (any Error)?) -> Void)
```

```swift
func removeFabric(with params: MTROperationalCredentialsClusterRemoveFabricParams, expectedValues expectedDataValueDictionaries: [[String : Any]]?, expectedValueInterval expectedValueIntervalMs: NSNumber?) async throws -> MTROperationalCredentialsClusterNOCResponseParams
```
