Deletes an index table that is created for a data table.
Request syntax
message DropIndexRequest {
required string main_table_name = 1;
required string index_name = 2;
}
Parameter | Type | Required | Description |
main_table_name | string | Yes | The data table for which you want to delete an index table. |
index_name | string | Yes | The name of the index table that you want to delete. |
Response syntax
message DropIndexResponse {
}
Use Tablestore SDKs
You can use the following Tablestore SDKs to delete an index table:
Tablestore SDK for Java: Delete a secondary index
Tablestore SDK for Go: Delete a secondary index
Tablestore SDK for Python: Delete a secondary index
Tablestore SDK for Node.js: Delete a secondary index
Tablestore SDK for .NET: Delete a secondary index
Tablestore SDK for PHP: Delete a secondary index