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:
Parameters | Description | Required |
---|---|---|
table | Table to be deleted. Supports using asterisk (*) wildcard character and specifying multiple pattens, which are separated by comma (,) | Yes |
database_name | The database where the table is located | No, defaults to "default" database |