---
title: "renameInput(with:completionHandler:)"
framework: matter
role: symbol
role_heading: Instance Method
path: "matter/mtrbaseclustermediainput/renameinput(with:completionhandler:)"
---

# renameInput(with:completionHandler:)

## Declaration

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

```swift
func renameInput(with params: MTRMediaInputClusterRenameInputParams) async throws
```
