You can call this operation to enable one or more event alert rules.


You can use API Explorer to perform debugging. API Explorer allows you to perform various operations to simplify API usage. For example, you can call APIs, dynamically generate SDK example code, and retrieve APIs.

Request parameters

Parameter Type Required Example Description
Action String Yes EnableEventRules

The operation that you want to perform. Set the value to EnableEventRules.

RuleNames.N RepeatList Yes ruleName1

The name of the alert rule. Valid values of N: 1 to 20.

Response parameters

Parameter Type Example Description
Code String 200

The status code. A value of 200 indicates that the call is successful.

Message String success

The error message.

RequestId String 20F2896A-6684-4A04-8255-4155B1593C70

The request ID for troubleshooting.

Success Boolean true

Indicates whether the call is successful. A value of true indicates that the call is successful. A value of false indicates that the call has failed.


Sample requests

http(s)://[Endpoint]/? Action=EnableEventRules
&RuleNames. 1=ruleName1
&<Common request parameters>

Successful response examples

XML format


JSON format


Error codes

View error codes