---
title: "enableAction(with:completionHandler:)"
framework: matter
role: symbol
role_heading: Instance Method
path: "matter/mtrbaseclusteractions/enableaction(with:completionhandler:)"
---

# enableAction(with:completionHandler:)

## Declaration

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

```swift
func enableAction(with params: MTRActionsClusterEnableActionParams) async throws
```
