Calls the DeleteMetricRuleBlackList operation to delete alert blacklist policies.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
cms:DeleteMetricRuleBlackList |
delete |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| Id |
string |
Yes |
The ID of the alert blacklist policy. Separate multiple IDs with commas (,). You can specify up to 50 IDs. For information about how to obtain the ID of an alert blacklist policy, see DescribeMetricRuleBlackList. Note
This parameter also supports JSON Array format, for example: |
a9ad2ac2-3ed9-11ed-b878-0242ac12**** |
For information about common request parameters, see Common parameters.
Response elements
|
Element |
Type |
Description |
Example |
|
object |
None. |
||
| Code |
string |
The HTTP status code. Note
200 indicates success. |
200 |
| Message |
string |
The error message. |
The specified resource is not found. |
| RequestId |
string |
The request ID. |
B88D233C-A004-3AB8-AD9C-30CBDD4440C5 |
| Success |
boolean |
Indicates whether the operation was successful. Valid values:
|
true |
| Count |
integer |
The number of alert blacklist policies that were successfully deleted. |
1 |
Examples
Success response
JSON format
{
"Code": "200",
"Message": "The specified resource is not found.",
"RequestId": "B88D233C-A004-3AB8-AD9C-30CBDD4440C5",
"Success": true,
"Count": 1
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | ParameterInvalid | Illegal parameters. | |
| 500 | InternalError | The request processing has failed due to some unknown error. | |
| 403 | AccessForbidden | User not authorized to operate on the specified resource. | |
| 404 | ResourceNotFound | The specified resource is not found. | The specified resource is not found. |
| 409 | ResourceConflict | Concurrent modification of resources. | |
| 409 | ResourceExist | Resources already exist. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.