Delete Alarm Rule

Last updated: 2019-11-29 19:23:08

PDF

1. API Description

This API (DeleteAlarmRule) is used to delete alarm rule.

Domain name: monitor.api.qcloud.com

2. Input Parameters

The following request parameter list only provides API request parameters. Common request parameters are also needed when the API is called. The Action field for this API is DeleteAlarmRule.

Parameter Name Required Type Description
alarmRuleId Yes String Alarm rule ID, which can be queried by calling the API Query Alarm Rule (DescribeAlarmRuleList)

3. Output Parameters

Parameter Name Type Description
code Int Error code, 0: Successful. Other values: Failed. For more information, please see Common Error Codes on the Error Codes page
message String Error message

4. Example

Input

https://monitor.api.qcloud.com/v2/index.php?
&<Common request parameters>
&alarmRuleId=policy-ky4nqk3zax

Output

{
    "code":"0",
    "message":""
}