All Products
Search
Document Center

CloudMonitor:DeleteCustomMetric

Last Updated:Mar 01, 2024

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.

Authorization information

There is currently no authorization information disclosed in the API.

Request parameters

ParameterTypeRequiredDescriptionExample
GroupIdstringYes

The ID of the application group.

3607****
MetricNamestringYes

The name of the metric.

AdvanceCredit
Md5stringNo

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 Md5 is returned when you query the reported monitoring data of a metric.
38796C8CFFEB8F89BB2A626C7BD7****
UUIDstringNo

The ID of the request for reporting monitoring data.

Note UUID is returned when you query the reported monitoring data of a metric. We recommend that you specify the Md5 parameter.
5497633c-66c5-4eae-abaa-89db5adb****

Response parameters

ParameterTypeDescriptionExample
object
Codestring

The HTTP status code.

Note The status code 200 indicates that the call is successful.
200
Messagestring

The returned message.

success
RequestIdstring

The ID of the request.

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

Examples

Sample success responses

JSONformat

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

Error codes

HTTP status codeError codeError message
400%s%s
500InternalErrorThe request processing has failed due to some unknown error.

For a list of error codes, visit the Service error codes.