drop_vector_table
Use the drop vector table operation to permanently delete a vector table and all of its data.
Drops the specified vector table, including all vectors, metadata, and associated indexes. This operation cannot be undone.
Parameters
| Parameter | Type | Value Range | Required | Default | Description | Notes |
|---|---|---|---|---|---|---|
name |
str |
Valid vector table identifier | Yes | No default | Name of the vector table to drop. | Table must exist in the database schema. |
Raises Exception – InvalidTableNameFormatError may be raised when the table name is invalid. The operation also fails if the table does not exist.
Drop a table and inspect the response
response = client.drop_vector_table(name="old_vectors")
print(response)
Return type DropVectorTableResponse
Returns JSON response confirming the table was dropped successfully.
Example response:
{
"message": "Table DEMO_PRODUCTS deleted successfully"
}