You can call the DeleteTable operation to delete a specified table from the current instance.

Note For more information about the DeleteTable operation, see DeleteTable.


  • The OTSClient instance is initialized. For more information, see Initialization.
  • A data table is created.
  • The index tables and search indexes for the table are deleted.


Parameter Description
tableName The name of the data table.


The following code provides an example on how to delete a specified table:

private static void deleteTable(SyncClient client) {
    DeleteTableRequest request = new DeleteTableRequest(TABLE_NAME);