Deletes the push channels of an event-triggered alert rule.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
cms:DeleteEventRuleTargets |
delete |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| RuleName |
string |
Yes |
The name of the event-triggered alert rule. For information about how to obtain the name of an event-triggered alert rule, see DescribeEventRuleList. |
testRule |
| Ids |
array |
Yes |
The IDs of event-triggered alert rules. |
1 |
|
string |
No |
The ID of the event-triggered alert rule. |
testRuleId |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| Code |
string |
The response code. Note
The status code 200 indicates that the request was successful. |
200 |
| Message |
string |
The returned message. |
successfull |
| RequestId |
string |
The request ID. You can use the request ID to query logs and troubleshoot issues. |
142989D9-CC52-54D0-928D-2C9B1D9F051C |
| Success |
boolean |
Indicates whether the request was successful. Valid values:
|
true |
Examples
Success response
JSON format
{
"Code": "200",
"Message": "successfull",
"RequestId": "142989D9-CC52-54D0-928D-2C9B1D9F051C",
"Success": true
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | InvalidParameterValue | Illegal parameters. | Illegal parameters. |
| 500 | InternalError | The request processing has failed due to some unknown error. | |
| 403 | InvalidAuthorization | Permission denied | Permission denied. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.