All Products
Search
Document Center

Tablestore:Delete a time series table

Last Updated:Jan 15, 2024

You can call the DeleteTimeseries operation to delete a time series table.

Prerequisites

Parameter

Parameter

Description

timeseriesTableName

The name of the time series table.

Example

The following sample code provides an example on how to delete a time series table.

private static void deleteTimeseriesTable(TimeseriesClient client) {
    // Specify the name of the time series table. 
    String tableName = "<TIMESERIES_TIME>";
    DeleteTimeseriesTableRequest deleteTimeseriesTableRequest = new DeleteTimeseriesTableRequest(tableName);
    client.deleteTimeseriesTable(deleteTimeseriesTableRequest);
}