curl -u shiva:shiva -XDELETE 'localhost:8902/hippo/v1/_trash/{table}?database_name={database_name}&pretty'
Result:
{
"acknowledged" : true
}
Parameter description:
Parameters | Description | Required |
---|---|---|
table | Table to be matched, supports using asterisk (*) wildcard character and specifying multiple pattens, which are separated by comma (,) | No, defaults to *, deletes all tables in recycle bin of this database |
database_name | Database name | No, defaults to "default" database |