---
title: "updateNOC(with:expectedValues:expectedValueInterval:completion:)"
framework: matter
role: symbol
role_heading: Instance Method
path: "matter/mtrclusteroperationalcredentials/updatenoc(with:expectedvalues:expectedvalueinterval:completion:)"
---

# updateNOC(with:expectedValues:expectedValueInterval:completion:)

## Declaration

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

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