You can call this operation to delete one or more notification methods of event alerts.

Debugging

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 DeleteEventRuleTargets

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

Ids.N RepeatList Yes 1

The ID of the notification method. Valid values of N: 1 to 20.

RuleName String Yes testRule

The name of the alert rule.

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 7ADD7EFB-7555-4EC1-A3D9-F9955C189CCF

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.

Examples

Sample requests


http(s)://[Endpoint]/? Action=DeleteEventRuleTargets
&Ids. 1=1
&RuleName=testRule
&<Common request parameters>

Successful response examples

XML format

<DeleteEventRuleTargetsResponse>
  <RequestId>7ADD7EFB-7555-4EC1-A3D9-F9955C189CCF</RequestId>
  <Success>true</Success> 
  <Code>200</Code>
</DeleteEventRuleTargetsResponse>

JSON format

{
	"RequestId":"7ADD7EFB-7555-4EC1-A3D9-F9955C189CCF",
	"Success":true,
	"Code":"200"
}

Error codes

View error codes