Unbind Alarm Rule with Alarm Receiver

Last updated: 2019-11-29 19:26:54

PDF

1. API Description

This API (BindAlarmRuleReceivers) is used to bind alarm rule to receiving group.
When data in the object that is bound with an alarm rule satisfies the alarm conditions, users in the receiving groups will receive the alarm information.

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 BindAlarmRuleReceivers.

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

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?Action=BindAlarmRuleReceivers
&alarmRuleId=policy-eqzqq79naz
&receiversId=1001

Output

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