

# DeleteAlarmMuteRule
<a name="API_DeleteAlarmMuteRule"></a>

Deletes a specific alarm mute rule.

When you delete a mute rule, any alarms that are currently being muted by that rule are immediately unmuted. If those alarms are in an ALARM state, their configured actions will trigger.

This operation is idempotent. If you delete a mute rule that does not exist, the operation succeeds without returning an error.

 **Permissions** 

To delete a mute rule, you need the `cloudwatch:DeleteAlarmMuteRule` permission on the alarm mute rule resource.

## Request Parameters
<a name="API_DeleteAlarmMuteRule_RequestParameters"></a>

 ** AlarmMuteRuleName **   
The name of the alarm mute rule to delete.  
Type: String  
Length Constraints: Minimum length of 1. Maximum length of 255.  
Required: Yes

## Errors
<a name="API_DeleteAlarmMuteRule_Errors"></a>

For information about the errors that are common to all actions, see [Common Error Types](CommonErrors.md).

## Examples
<a name="API_DeleteAlarmMuteRule_Examples"></a>

### Delete a mute rule
<a name="API_DeleteAlarmMuteRule_Example_1"></a>

Delete a specific alarm mute rule. This operation does not return any output on success.

#### Sample Request
<a name="API_DeleteAlarmMuteRule_Example_1_Request"></a>

```
aws cloudwatch delete-alarm-mute-rule \
	--alarm-mute-rule-name "DailyMaintenanceWindow"
```

## See Also
<a name="API_DeleteAlarmMuteRule_SeeAlso"></a>

For more information about using this API in one of the language-specific Amazon SDKs, see the following:
+  [Amazon Command Line Interface V2](https://docs.amazonaws.cn/goto/cli2/monitoring-2010-08-01/DeleteAlarmMuteRule) 
+  [Amazon SDK for .NET V4](https://docs.amazonaws.cn/goto/DotNetSDKV4/monitoring-2010-08-01/DeleteAlarmMuteRule) 
+  [Amazon SDK for C\$1\$1](https://docs.amazonaws.cn/goto/SdkForCpp/monitoring-2010-08-01/DeleteAlarmMuteRule) 
+  [Amazon SDK for Go v2](https://docs.amazonaws.cn/goto/SdkForGoV2/monitoring-2010-08-01/DeleteAlarmMuteRule) 
+  [Amazon SDK for Java V2](https://docs.amazonaws.cn/goto/SdkForJavaV2/monitoring-2010-08-01/DeleteAlarmMuteRule) 
+  [Amazon SDK for JavaScript V3](https://docs.amazonaws.cn/goto/SdkForJavaScriptV3/monitoring-2010-08-01/DeleteAlarmMuteRule) 
+  [Amazon SDK for Kotlin](https://docs.amazonaws.cn/goto/SdkForKotlin/monitoring-2010-08-01/DeleteAlarmMuteRule) 
+  [Amazon SDK for PHP V3](https://docs.amazonaws.cn/goto/SdkForPHPV3/monitoring-2010-08-01/DeleteAlarmMuteRule) 
+  [Amazon SDK for Python](https://docs.amazonaws.cn/goto/boto3/monitoring-2010-08-01/DeleteAlarmMuteRule) 
+  [Amazon SDK for Ruby V3](https://docs.amazonaws.cn/goto/SdkForRubyV3/monitoring-2010-08-01/DeleteAlarmMuteRule) 