DeleteHiTSDBInstanceData

Updated at:
Copy as MD

Deletes data from a TSDB instance within a specified time range. Use the Metric parameter to specify which metrics to delete, and the Tags parameter to filter data by tags. If Metric is empty, no data is deleted.

Request parameters

ParameterTypeRequiredDescription
RegionIdStringYesThe ID of the region where the instance resides.
InstanceIdStringYesThe ID of the instance.
ReverseIpStringYesThe reverse IP address of the instance in a Virtual Private Cloud (VPC).
ReversePortIntegerYesThe reverse port of the instance in a VPC.
MetricStringYesThe metrics to delete, in JSON array format. Example: ["cpuload", "mem", "blahmetric"]. If this parameter is empty, no data is deleted.
TagsStringNoThe tags used to filter data. Only data containing the specified tags is deleted. Specify the value in JSON object format. Example: {"city": "shanghai", "host": "127.0.0.1"}.
StartLongYesThe start of the time range to delete. The value is a timestamp in milliseconds.
EndLongYesThe end of the time range to delete. The value is a timestamp in milliseconds.
Note: None of the parameters have default values.

Response elements

ParameterTypeDescription
RequestIdStringThe request ID.

Examples

Sample success response

{
    "RequestId": "1556DCB0-043A-4444-8BD9-CF4A68E7EE64"
}