---
title: "disableAction(with:completion:)"
framework: matter
role: symbol
role_heading: Instance Method
path: "matter/mtrbaseclusteractions/disableaction(with:completion:)"
---

# disableAction(with:completion:)

## Declaration

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

```swift
func disableAction(with params: MTRActionsClusterDisableActionParams) async throws
```
