---
title: "modifyEnabledAlarms(with:completion:)"
framework: matter
role: symbol
role_heading: Instance Method
path: "matter/mtrbaseclusterdishwasheralarm/modifyenabledalarms(with:completion:)"
---

# modifyEnabledAlarms(with:completion:)

Command ModifyEnabledAlarms

## Declaration

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

```swift
func modifyEnabledAlarms(with params: MTRDishwasherAlarmClusterModifyEnabledAlarmsParams) async throws
```

## Discussion

Discussion This command allows a client to request that an alarm be enabled or suppressed at the server.
