All Products
Search
Document Center

Time Series Database:DeleteHiTSDBInstanceData

Last Updated:Aug 02, 2023

Description

Deletes data from an instance.

Request parameters

Parameter

Type

Required

Description

RegionId

String

Yes

The region ID of the instance.

InstanceId

String

Yes

The ID of the instance.

ReverseIp

String

Yes

The reverse IP address of the instance in a VPC.

ReversePort

Integer

Yes

The reverse port of the instance in a VPC.

Metric

String

Yes

The metrics that you want to delete. Specify this parameter in the JSON format. For example, you can set the value to ["cpuload", "mem", "blahmetric"]. If you leave this parameter empty, no data is deleted.

Tags

String

No

The tags that are used to filter data. The data that contains the specified tags is deleted. Specify this parameter in the JSON format. For example, you can set the value to {"city": "shanghai", "host": "127.0.0.1"}.

Start

Long

Yes

The beginning of the time range to delete. The value is a timestamp in milliseconds.

End

Long

Yes

The end of the time range to delete. The value is a timestamp in milliseconds.

Note: The preceding parameters do not have default values.

Sample success responses

JSON format

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