Hi @Hema1111
As @v-peijunz-msft said,
Common way is to get tables names in excel, iterate through each, get rows list for that table, and then delete the row, but limitation for this method is that, since delete row need key column and its value to delete, so you may need to keep key column name corresponding to each table as object (json) in flow to get key column corresponding to that table name.
Another method would be to use office script to delete all rows from all tables.
I have used this deisgn in flow

office script used
function main(workbook: ExcelScript.Workbook,tablename: string) {
let myTable = workbook.getTable(tablename);
let rowCount = myTable.getRowCount();
myTable.deleteRowsAt(0, rowCount);
}
Hope it helps
Let me know if you have any questions