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: DeleteIndex
- Tablestore SDK for Go: DeleteIndex
- Tablestore SDK for Python: DeleteIndex
- Tablestore SDK for Node.js: DeleteIndex
- Tablestore SDK for .NET: DeleteIndex
- Tablestore SDK for PHP: DeleteIndex