Deletes the reported monitoring data of a metric.

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 DeleteCustomMetric

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

GroupId String Yes 3607****

The ID of the application group.

MetricName String Yes AdvanceCredit

The name of the metric.

Md5 String No 38796C8CFFEB8F89BB2A626C7BD7****

The MD5 value of the HTTP request body. The MD5 value is a 128-bit hash value used to verify the uniqueness of the reported monitoring data.

Note Set the value to the MD5 value returned when you query the reported monitoring data.
UUID String No 5497633c-66c5-4eae-abaa-89db5adb****

The ID of the request for reporting monitoring data.

Note Set the value to the ID returned when you query the reported monitoring data. We recommend that you set the Md5 parameter.

Response parameters

Parameter Type Example Description
Code String 200

The HTTP status code.

Note The status code 200 indicates that the call was successful.
Message String success

The returned message.

RequestId String 05B36C2C-5F6E-48D5-8B41-CE36DD7EE8E0

The ID of the request.

Examples

Sample requests

http(s)://[Endpoint]/?Action=DeleteCustomMetric
&GroupId=3607****
&MetricName=AdvanceCredit
&<Common request parameters>

Sample success responses

XML format

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

<DeleteCustomMetric>
		<Message>success</Message>
		<RequestId>05B36C2C-5F6E-48D5-8B41-CE36DD7EE8E0</RequestId>
		<Code>200</Code>
</DeleteCustomMetric>

JSON format

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

{
  "Message" : "success",
  "RequestId" : "05B36C2C-5F6E-48D5-8B41-CE36DD7EE8E0",
  "Code" : "200"
}

Error codes

For a list of error codes, see Service error codes.