Updates a discarded metric rule in the environment.
Debugging
Authorization information
There is currently no authorization information disclosed in the API.
Request parameters
| Parameter | Type | Required | Description | Example |
|---|---|---|---|---|
| RegionId | string | Yes | The region ID. | cn-hangzhou |
| AliyunLang | string | No | The language. Valid values:
| zh |
| EnvironmentId | string | Yes | The environment ID. | env-xxx |
| DropMetrics | string | Yes | The metric to be discarded. Separate multiple metrics with line feeds. | metric_1 metric_2 metric_3 |
Response parameters
Examples
Sample success responses
JSONformat
{
"RequestId": "6A9AEA84-7186-4D8D-B498-4585C6A2****",
"Code": 200,
"Data": "success",
"Message": "success"
}Error codes
For a list of error codes, visit the Service error codes.
