---
title: "updateNOC(with:completion:)"
framework: matter
role: symbol
role_heading: Instance Method
path: "matter/mtrbaseclusteroperationalcredentials/updatenoc(with:completion:)"
---

# updateNOC(with:completion:)

## Declaration

```swift
func updateNOC(with params: MTROperationalCredentialsClusterUpdateNOCParams, completion: @escaping @Sendable (MTROperationalCredentialsClusterNOCResponseParams?, (any Error)?) -> Void)
```

```swift
func updateNOC(with params: MTROperationalCredentialsClusterUpdateNOCParams) async throws -> MTROperationalCredentialsClusterNOCResponseParams
```
