Delete Table

The following command introduces how to delete a table from Hippo. The deleted table will be put into recycle bin temporarily then emptied completely after a certain period of time.

curl -u shiva:shiva -XDELETE 'localhost:8902/hippo/v1/book?database_name={database_name}' # Supports wildcard characters

Result:

{
  "acknowledged" : true
}

Parameter description:

ParametersDescriptionRequired
tableTable to be deleted. Supports using asterisk (*) wildcard character and specifying multiple pattens, which are separated by comma (,)Yes
database_nameThe database where the table is locatedNo, defaults to "default" database
Table 6 Delete Table (Restful API)