Delete diagnostic metric sets.

Debugging

OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer. OpenAPI Explorer dynamically generates the sample code of the operation for different SDKs.

Request parameters

Parameter Type Required Example Description
Action String Yes DeleteDiagnosticMetricSets

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

RegionId String Yes cn-hangzhou

The region ID of the diagnostic metric set. You can call the DescribeRegions operation to query the most recent region list.

MetricSetIds.N String Yes dms-uf6i0tv2refv8wz*****

The ID of diagnostic metric set N. You can specify up to 10 set IDs.

Response parameters

Parameter Type Example Description
RequestId String 473469C7-AA6F-4DC5-B3DB-A3DC0DE*****

The ID of the request.

Examples

Sample requests

http(s)://ecs.aliyuncs.com/?Action=DeleteDiagnosticMetricSets
&RegionId=cn-hangzhou
&MetricSetIds=["dms-uf6i0tv2refv8wz*****"]
&<Common request parameters>

Sample success responses

XML format

HTTP/1.1 200 OK
Content-Type:application/xml

<DeleteDiagnosticMetricSetsResponse>
    <RequestId>473469C7-AA6F-4DC5-B3DB-A3DC0DE*****</RequestId>
</DeleteDiagnosticMetricSetsResponse>

JSON format

HTTP/1.1 200 OK
Content-Type:application/json

{
  "RequestId" : "473469C7-AA6F-4DC5-B3DB-A3DC0DE*****"
}

Error codes

For a list of error codes, visit the API Error Center.